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

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

Issue 8475024: Changed argument to GetAcceptLangs() to a BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 9 years, 1 month 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 #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/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 void MockContentBrowserClient::AppendExtraCommandLineSwitches( 97 void MockContentBrowserClient::AppendExtraCommandLineSwitches(
98 CommandLine* command_line, int child_process_id) { 98 CommandLine* command_line, int child_process_id) {
99 } 99 }
100 100
101 std::string MockContentBrowserClient::GetApplicationLocale() { 101 std::string MockContentBrowserClient::GetApplicationLocale() {
102 return std::string(); 102 return std::string();
103 } 103 }
104 104
105 std::string MockContentBrowserClient::GetAcceptLangs(const TabContents* tab) { 105 std::string MockContentBrowserClient::GetAcceptLangs(
106 content::BrowserContext* context) {
106 return std::string(); 107 return std::string();
107 } 108 }
108 109
109 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() { 110 SkBitmap* MockContentBrowserClient::GetDefaultFavicon() {
110 static SkBitmap empty; 111 static SkBitmap empty;
111 return &empty; 112 return &empty;
112 } 113 }
113 114
114 bool MockContentBrowserClient::AllowAppCache( 115 bool MockContentBrowserClient::AllowAppCache(
115 const GURL& manifest_url, const GURL& first_party, 116 const GURL& manifest_url, const GURL& first_party,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 #endif 318 #endif
318 319
319 #if defined(USE_NSS) 320 #if defined(USE_NSS)
320 crypto::CryptoModuleBlockingPasswordDelegate* 321 crypto::CryptoModuleBlockingPasswordDelegate*
321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 322 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
322 return NULL; 323 return NULL;
323 } 324 }
324 #endif 325 #endif
325 326
326 } // namespace content 327 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698