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

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

Issue 11689004: Move PromoResourceService from Profile to BrowserProcessImpl/local_state(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/prefs/pref_service.h" 10 #include "chrome/browser/prefs/pref_service.h"
10 #include "chrome/browser/profiles/profile_manager.h" 11 #include "chrome/browser/profiles/profile_manager.h"
11 #include "chrome/browser/ui/bookmarks/bookmark_prompt_controller.h" 12 #include "chrome/browser/ui/bookmarks/bookmark_prompt_controller.h"
12 #include "content/public/browser/notification_service.h" 13 #include "content/public/browser/notification_service.h"
13 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 #if !defined(OS_IOS) 17 #if !defined(OS_IOS)
17 #include "chrome/browser/media_gallery/media_file_system_registry.h" 18 #include "chrome/browser/media_gallery/media_file_system_registry.h"
18 #include "chrome/browser/notifications/notification_ui_manager.h" 19 #include "chrome/browser/notifications/notification_ui_manager.h"
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 #endif 355 #endif
355 } 356 }
356 357
357 void TestingBrowserProcess::SetSafeBrowsingService( 358 void TestingBrowserProcess::SetSafeBrowsingService(
358 SafeBrowsingService* sb_service) { 359 SafeBrowsingService* sb_service) {
359 #if !defined(OS_IOS) 360 #if !defined(OS_IOS)
360 NOTIMPLEMENTED(); 361 NOTIMPLEMENTED();
361 sb_service_ = sb_service; 362 sb_service_ = sb_service;
362 #endif 363 #endif
363 } 364 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698