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

Unified Diff: chrome/common/chrome_content_client.h

Issue 7922023: Remove webkit_glue::BuildUserAgent(), remove windows spoofing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to r102225 Created 9 years, 3 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: chrome/common/chrome_content_client.h
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index a4bb24279d7c55a2d155753c09b0c4a794965eb7..5f069f309035b3632c856bbc53de0d4a1cb7a7b3 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -6,6 +6,7 @@
#define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
#pragma once
+#include "base/compiler_specific.h"
#include "content/common/content_client.h"
namespace chrome {
@@ -16,18 +17,19 @@ class ChromeContentClient : public content::ContentClient {
static const char* const kNaClPluginName;
static const char* const kNaClOldPluginName;
- virtual void SetActiveURL(const GURL& url);
- virtual void SetGpuInfo(const GPUInfo& gpu_info);
- virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins);
- virtual bool CanSendWhileSwappedOut(const IPC::Message* msg);
- virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg);
- virtual std::string GetUserAgent(bool mimic_windows) const;
- virtual string16 GetLocalizedString(int message_id) const;
- virtual base::StringPiece GetDataResource(int resource_id) const;
+ virtual void SetActiveURL(const GURL& url) OVERRIDE;
+ virtual void SetGpuInfo(const GPUInfo& gpu_info) OVERRIDE;
+ virtual void AddPepperPlugins(
+ std::vector<PepperPluginInfo>* plugins) OVERRIDE;
+ virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) OVERRIDE;
+ virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg) OVERRIDE;
+ virtual std::string GetUserAgent(bool* overriding) const OVERRIDE;
+ virtual string16 GetLocalizedString(int message_id) const OVERRIDE;
+ virtual base::StringPiece GetDataResource(int resource_id) const OVERRIDE;
#if defined(OS_WIN)
virtual bool SandboxPlugin(CommandLine* command_line,
- sandbox::TargetPolicy* policy);
+ sandbox::TargetPolicy* policy) OVERRIDE;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698