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/prefs/pref_service.h" |
8 #include "base/string_util.h" | 8 #include "base/strings/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" |
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 "chrome/test/base/testing_browser_process_platform_part.h" | 13 #include "chrome/test/base/testing_browser_process_platform_part.h" |
14 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "ui/message_center/message_center.h" | 17 #include "ui/message_center/message_center.h" |
18 | 18 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 #endif | 379 #endif |
380 } | 380 } |
381 | 381 |
382 void TestingBrowserProcess::SetSafeBrowsingService( | 382 void TestingBrowserProcess::SetSafeBrowsingService( |
383 SafeBrowsingService* sb_service) { | 383 SafeBrowsingService* sb_service) { |
384 #if !defined(OS_IOS) | 384 #if !defined(OS_IOS) |
385 NOTIMPLEMENTED(); | 385 NOTIMPLEMENTED(); |
386 sb_service_ = sb_service; | 386 sb_service_ = sb_service; |
387 #endif | 387 #endif |
388 } | 388 } |
OLD | NEW |