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

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

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
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/browser/webui/empty_web_ui_factory.h" 10 #include "content/browser/webui/empty_web_ui_factory.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 } 199 }
200 200
201 DevToolsManager* MockContentBrowserClient::GetDevToolsManager() { 201 DevToolsManager* MockContentBrowserClient::GetDevToolsManager() {
202 return NULL; 202 return NULL;
203 } 203 }
204 204
205 net::NetLog* MockContentBrowserClient::GetNetLog() { 205 net::NetLog* MockContentBrowserClient::GetNetLog() {
206 return NULL; 206 return NULL;
207 } 207 }
208 208
209 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() {
210 return NULL;
211 }
212
209 bool MockContentBrowserClient::IsFastShutdownPossible() { 213 bool MockContentBrowserClient::IsFastShutdownPossible() {
210 return true; 214 return true;
211 } 215 }
212 216
213 WebPreferences MockContentBrowserClient::GetWebkitPrefs( 217 WebPreferences MockContentBrowserClient::GetWebkitPrefs(
214 content::BrowserContext* browser_context, 218 content::BrowserContext* browser_context,
215 bool is_web_ui) { 219 bool is_web_ui) {
216 return WebPreferences(); 220 return WebPreferences();
217 } 221 }
218 222
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 #endif 254 #endif
251 255
252 #if defined(USE_NSS) 256 #if defined(USE_NSS)
253 crypto::CryptoModuleBlockingPasswordDelegate* 257 crypto::CryptoModuleBlockingPasswordDelegate*
254 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 258 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
255 return NULL; 259 return NULL;
256 } 260 }
257 #endif 261 #endif
258 262
259 } // namespace content 263 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698