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

Unified Diff: chrome/common/chrome_content_client.h

Issue 8002003: Revert "Remove webkit_glue::BuildUserAgent(), change the contract in webkit_glue" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_content_client.h
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index 5f069f309035b3632c856bbc53de0d4a1cb7a7b3..a4bb24279d7c55a2d155753c09b0c4a794965eb7 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -6,7 +6,6 @@
#define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
#pragma once
-#include "base/compiler_specific.h"
#include "content/common/content_client.h"
namespace chrome {
@@ -17,19 +16,18 @@ class ChromeContentClient : public content::ContentClient {
static const char* const kNaClPluginName;
static const char* const kNaClOldPluginName;
- 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;
+ 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;
#if defined(OS_WIN)
virtual bool SandboxPlugin(CommandLine* command_line,
- sandbox::TargetPolicy* policy) OVERRIDE;
+ sandbox::TargetPolicy* policy);
#endif
};
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698