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

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

Issue 14698027: Move winaura specific methods and members from chrome/browser/browser_process.h to chrome/browser/b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in testing_browser_process_platform_part.h Created 7 years, 7 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/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 #if defined(OS_IOS) || defined (OS_ANDROID) 319 #if defined(OS_IOS) || defined (OS_ANDROID)
320 NOTIMPLEMENTED(); 320 NOTIMPLEMENTED();
321 return NULL; 321 return NULL;
322 #else 322 #else
323 if (!media_file_system_registry_) 323 if (!media_file_system_registry_)
324 media_file_system_registry_.reset(new chrome::MediaFileSystemRegistry()); 324 media_file_system_registry_.reset(new chrome::MediaFileSystemRegistry());
325 return media_file_system_registry_.get(); 325 return media_file_system_registry_.get();
326 #endif 326 #endif
327 } 327 }
328 328
329 void TestingBrowserProcess::PlatformSpecificCommandLineProcessing(
330 const CommandLine& command_line) {
331 }
332
333 bool TestingBrowserProcess::created_local_state() const { 329 bool TestingBrowserProcess::created_local_state() const {
334 return (local_state_ != NULL); 330 return (local_state_ != NULL);
335 } 331 }
336 332
337 void TestingBrowserProcess::SetBookmarkPromptController( 333 void TestingBrowserProcess::SetBookmarkPromptController(
338 BookmarkPromptController* controller) { 334 BookmarkPromptController* controller) {
339 #if !defined(OS_IOS) 335 #if !defined(OS_IOS)
340 bookmark_prompt_controller_.reset(controller); 336 bookmark_prompt_controller_.reset(controller);
341 #endif 337 #endif
342 } 338 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 #endif 379 #endif
384 } 380 }
385 381
386 void TestingBrowserProcess::SetSafeBrowsingService( 382 void TestingBrowserProcess::SetSafeBrowsingService(
387 SafeBrowsingService* sb_service) { 383 SafeBrowsingService* sb_service) {
388 #if !defined(OS_IOS) 384 #if !defined(OS_IOS)
389 NOTIMPLEMENTED(); 385 NOTIMPLEMENTED();
390 sb_service_ = sb_service; 386 sb_service_ = sb_service;
391 #endif 387 #endif
392 } 388 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | chrome/test/base/testing_browser_process_platform_part.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698