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

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 9566001: Hide MHTMLGenerationManager from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/google/google_url_tracker.h" 8 #include "chrome/browser/google/google_url_tracker.h"
9 #include "chrome/browser/notifications/notification_ui_manager.h" 9 #include "chrome/browser/notifications/notification_ui_manager.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ChromeNetLog* TestingBrowserProcess::net_log() { 216 ChromeNetLog* TestingBrowserProcess::net_log() {
217 return NULL; 217 return NULL;
218 } 218 }
219 219
220 prerender::PrerenderTracker* TestingBrowserProcess::prerender_tracker() { 220 prerender::PrerenderTracker* TestingBrowserProcess::prerender_tracker() {
221 if (!prerender_tracker_.get()) 221 if (!prerender_tracker_.get())
222 prerender_tracker_.reset(new prerender::PrerenderTracker()); 222 prerender_tracker_.reset(new prerender::PrerenderTracker());
223 return prerender_tracker_.get(); 223 return prerender_tracker_.get();
224 } 224 }
225 225
226 MHTMLGenerationManager* TestingBrowserProcess::mhtml_generation_manager() {
227 return NULL;
228 }
229
230 ComponentUpdateService* TestingBrowserProcess::component_updater() { 226 ComponentUpdateService* TestingBrowserProcess::component_updater() {
231 return NULL; 227 return NULL;
232 } 228 }
233 229
234 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { 230 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() {
235 return NULL; 231 return NULL;
236 } 232 }
237 233
238 void TestingBrowserProcess::SetLocalState(PrefService* local_state) { 234 void TestingBrowserProcess::SetLocalState(PrefService* local_state) {
239 if (!local_state && notification_ui_manager_.get()) 235 if (!local_state && notification_ui_manager_.get())
(...skipping 12 matching lines...) Expand all
252 248
253 void TestingBrowserProcess::SetBrowserPolicyConnector( 249 void TestingBrowserProcess::SetBrowserPolicyConnector(
254 policy::BrowserPolicyConnector* connector) { 250 policy::BrowserPolicyConnector* connector) {
255 browser_policy_connector_.reset(connector); 251 browser_policy_connector_.reset(connector);
256 } 252 }
257 253
258 void TestingBrowserProcess::SetSafeBrowsingService( 254 void TestingBrowserProcess::SetSafeBrowsingService(
259 SafeBrowsingService* sb_service) { 255 SafeBrowsingService* sb_service) {
260 sb_service_ = sb_service; 256 sb_service_ = sb_service;
261 } 257 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698