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

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 7734005: Get rid of the link time dependency between content and chrome through the geolocation code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const GURL& source_url, 96 const GURL& source_url,
97 WindowContainerType container_type, 97 WindowContainerType container_type,
98 const content::ResourceContext& context) OVERRIDE; 98 const content::ResourceContext& context) OVERRIDE;
99 virtual std::string GetWorkerProcessTitle( 99 virtual std::string GetWorkerProcessTitle(
100 const GURL& url, const content::ResourceContext& context) OVERRIDE; 100 const GURL& url, const content::ResourceContext& context) OVERRIDE;
101 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; 101 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE;
102 virtual ui::Clipboard* GetClipboard() OVERRIDE; 102 virtual ui::Clipboard* GetClipboard() OVERRIDE;
103 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; 103 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE;
104 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; 104 virtual DevToolsManager* GetDevToolsManager() OVERRIDE;
105 virtual net::NetLog* GetNetLog() OVERRIDE; 105 virtual net::NetLog* GetNetLog() OVERRIDE;
106 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
106 virtual bool IsFastShutdownPossible() OVERRIDE; 107 virtual bool IsFastShutdownPossible() OVERRIDE;
107 virtual WebPreferences GetWebkitPrefs( 108 virtual WebPreferences GetWebkitPrefs(
108 content::BrowserContext* browser_context, 109 content::BrowserContext* browser_context,
109 bool is_web_ui) OVERRIDE; 110 bool is_web_ui) OVERRIDE;
110 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 111 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
111 const std::string& key, 112 const std::string& key,
112 const std::string& value) OVERRIDE; 113 const std::string& value) OVERRIDE;
113 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 114 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
114 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 115 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
115 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; 116 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
116 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; 117 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
117 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 118 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
118 virtual net::URLRequestContextGetter* 119 virtual net::URLRequestContextGetter*
119 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; 120 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE;
120 121
121 #if defined(OS_POSIX) && !defined(OS_MACOSX) 122 #if defined(OS_POSIX) && !defined(OS_MACOSX)
122 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; 123 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE;
123 #endif 124 #endif
124 125
125 #if defined(USE_NSS) 126 #if defined(USE_NSS)
126 virtual 127 virtual
127 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 128 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
128 const GURL& url) OVERRIDE; 129 const GURL& url) OVERRIDE;
129 #endif 130 #endif
130 }; 131 };
131 132
132 } // namespace content 133 } // namespace content
133 134
134 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 135 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/arbitrator_dependency_factory.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698