1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
printing / metafile_agent.h [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PRINTING_METAFILE_AGENT_H_
#define PRINTING_METAFILE_AGENT_H_
#include <string>
#include "base/component_export.h"
namespace printing {
// Inform the printing system that it may embed this user-agent string
// in its output's metadata.
COMPONENT_EXPORT(PRINTING_METAFILE)
void SetAgent(const std::string& user_agent);
COMPONENT_EXPORT(PRINTING_METAFILE) const std::string& GetAgent();
} // namespace printing
#endif // PRINTING_METAFILE_AGENT_H_