diff options
Diffstat (limited to 'chromium/content/public/common/content_client.h')
-rw-r--r-- | chromium/content/public/common/content_client.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chromium/content/public/common/content_client.h b/chromium/content/public/common/content_client.h index 1695656e891..ec52600a349 100644 --- a/chromium/content/public/common/content_client.h +++ b/chromium/content/public/common/content_client.h @@ -15,7 +15,6 @@ #include "content/common/content_export.h" #include "ui/base/layout.h" -class CommandLine; class GURL; namespace base { @@ -65,16 +64,6 @@ CONTENT_EXPORT ContentRendererClient* SetRendererClientForTesting( CONTENT_EXPORT ContentUtilityClient* SetUtilityClientForTesting( ContentUtilityClient* u); -// Returns the user agent string being used by the browser. SetContentClient() -// must be called prior to calling this, and this routine must be used -// instead of webkit_glue::GetUserAgent() in order to ensure that we use -// the same user agent string everywhere. -// TODO(dpranke): This is caused by webkit_glue being a library that can -// get linked into multiple linkable objects, causing us to have multiple -// static values of the user agent. This will be fixed when we clean up -// webkit_glue. -CONTENT_EXPORT const std::string& GetUserAgent(const GURL& url); - // Interface that the embedder implements. class CONTENT_EXPORT ContentClient { public: @@ -105,10 +94,6 @@ class CONTENT_EXPORT ContentClient { // Returns whether the given message should be sent in a swapped out renderer. virtual bool CanSendWhileSwappedOut(const IPC::Message* message); - // Returns whether the given message should be processed in the browser on - // behalf of a swapped out renderer. - virtual bool CanHandleWhileSwappedOut(const IPC::Message& message); - // Returns a string describing the embedder product name and version, // of the form "productname/version", with no other slashes. // Used as part of the user agent string. |