OLD | NEW |
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/string_util.h" | 8 #include "base/string_util.h" |
8 #include "build/build_config.h" | 9 #include "build/build_config.h" |
9 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/prefs/pref_service.h" | |
11 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
12 #include "chrome/browser/ui/bookmarks/bookmark_prompt_controller.h" | 12 #include "chrome/browser/ui/bookmarks/bookmark_prompt_controller.h" |
13 #include "content/public/browser/notification_service.h" | 13 #include "content/public/browser/notification_service.h" |
14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 #if !defined(OS_IOS) | 17 #if !defined(OS_IOS) |
18 #include "chrome/browser/media_gallery/media_file_system_registry.h" | 18 #include "chrome/browser/media_gallery/media_file_system_registry.h" |
19 #include "chrome/browser/notifications/notification_ui_manager.h" | 19 #include "chrome/browser/notifications/notification_ui_manager.h" |
20 #include "chrome/browser/prerender/prerender_tracker.h" | 20 #include "chrome/browser/prerender/prerender_tracker.h" |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 #endif | 380 #endif |
381 } | 381 } |
382 | 382 |
383 void TestingBrowserProcess::SetSafeBrowsingService( | 383 void TestingBrowserProcess::SetSafeBrowsingService( |
384 SafeBrowsingService* sb_service) { | 384 SafeBrowsingService* sb_service) { |
385 #if !defined(OS_IOS) | 385 #if !defined(OS_IOS) |
386 NOTIMPLEMENTED(); | 386 NOTIMPLEMENTED(); |
387 sb_service_ = sb_service; | 387 sb_service_ = sb_service; |
388 #endif | 388 #endif |
389 } | 389 } |
OLD | NEW |