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

Unified Diff: content/public/common/content_client.h

Issue 10854251: Allow the creation of partially spoofed user agents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed flag Created 8 years, 4 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
Index: content/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 12d52b9f30f16f48289d8c429163265f4fcb7400..a080e5e6de975a7a4029a44a663c804c8bb55e3e 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -108,6 +108,9 @@ class CONTENT_EXPORT ContentClient {
// behalf of a swapped out renderer.
virtual bool CanHandleWhileSwappedOut(const IPC::Message& message);
+ // Returns a string describing the product.
Charlie Reis 2012/08/24 21:38:43 Can you elaborate on what you mean by "product?"
gone 2012/08/24 23:50:35 I pulled the name from the existing GetUserAgent()
Charlie Reis 2012/08/25 00:11:10 Yes, that would help a lot.
gone 2012/08/25 00:23:49 Will set it for the next patch.
+ virtual std::string GetProduct() const;
+
// Returns the user agent.
virtual std::string GetUserAgent() const;

Powered by Google App Engine
This is Rietveld 408576698