Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: headless/lib/headless_content_client.h

Issue 2720673003: [headless] Use version for product name and user agent. (Closed)
Patch Set: use headless/public/version.h instead. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/lib/browser/headless_devtools.cc ('k') | headless/lib/headless_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/headless_content_client.h
diff --git a/headless/lib/headless_content_client.h b/headless/lib/headless_content_client.h
index 56775bd0b4dfcd418c128d01168db97fb39fa651..eb4d07d41b6406379095a146a3c8cb862093eb80 100644
--- a/headless/lib/headless_content_client.h
+++ b/headless/lib/headless_content_client.h
@@ -16,6 +16,7 @@ class HeadlessContentClient : public content::ContentClient {
~HeadlessContentClient() override;
// content::ContentClient implementation:
+ std::string GetProduct() const override;
std::string GetUserAgent() const override;
base::string16 GetLocalizedString(int message_id) const override;
base::StringPiece GetDataResource(
« no previous file with comments | « headless/lib/browser/headless_devtools.cc ('k') | headless/lib/headless_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698