| 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_profile.h" | 5 #include "chrome/test/base/testing_profile.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "chrome/browser/speech/chrome_speech_input_preferences.h" | 39 #include "chrome/browser/speech/chrome_speech_input_preferences.h" |
| 40 #include "chrome/browser/sync/profile_sync_service_mock.h" | 40 #include "chrome/browser/sync/profile_sync_service_mock.h" |
| 41 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 41 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 42 #include "chrome/common/chrome_constants.h" | 42 #include "chrome/common/chrome_constants.h" |
| 43 #include "chrome/common/chrome_notification_types.h" | 43 #include "chrome/common/chrome_notification_types.h" |
| 44 #include "chrome/common/chrome_switches.h" | 44 #include "chrome/common/chrome_switches.h" |
| 45 #include "chrome/common/url_constants.h" | 45 #include "chrome/common/url_constants.h" |
| 46 #include "chrome/test/base/bookmark_load_observer.h" | 46 #include "chrome/test/base/bookmark_load_observer.h" |
| 47 #include "chrome/test/base/testing_pref_service.h" | 47 #include "chrome/test/base/testing_pref_service.h" |
| 48 #include "chrome/test/base/ui_test_utils.h" | 48 #include "chrome/test/base/ui_test_utils.h" |
| 49 #include "content/browser/mock_resource_context.h" | |
| 50 #include "content/public/browser/browser_thread.h" | 49 #include "content/public/browser/browser_thread.h" |
| 51 #include "content/public/browser/notification_service.h" | 50 #include "content/public/browser/notification_service.h" |
| 51 #include "content/test/mock_resource_context.h" |
| 52 #include "net/base/cookie_monster.h" | 52 #include "net/base/cookie_monster.h" |
| 53 #include "net/url_request/url_request_context.h" | 53 #include "net/url_request/url_request_context.h" |
| 54 #include "net/url_request/url_request_context_getter.h" | 54 #include "net/url_request/url_request_context_getter.h" |
| 55 #include "net/url_request/url_request_test_util.h" | 55 #include "net/url_request/url_request_test_util.h" |
| 56 #include "testing/gmock/include/gmock/gmock.h" | 56 #include "testing/gmock/include/gmock/gmock.h" |
| 57 #include "webkit/database/database_tracker.h" | 57 #include "webkit/database/database_tracker.h" |
| 58 #include "webkit/fileapi/file_system_context.h" | 58 #include "webkit/fileapi/file_system_context.h" |
| 59 #include "webkit/fileapi/file_system_options.h" | 59 #include "webkit/fileapi/file_system_options.h" |
| 60 #include "webkit/quota/mock_quota_manager.h" | 60 #include "webkit/quota/mock_quota_manager.h" |
| 61 #include "webkit/quota/quota_manager.h" | 61 #include "webkit/quota/quota_manager.h" |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { | 760 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { |
| 761 return GetExtensionSpecialStoragePolicy(); | 761 return GetExtensionSpecialStoragePolicy(); |
| 762 } | 762 } |
| 763 | 763 |
| 764 void TestingProfile::DestroyWebDataService() { | 764 void TestingProfile::DestroyWebDataService() { |
| 765 if (!web_data_service_.get()) | 765 if (!web_data_service_.get()) |
| 766 return; | 766 return; |
| 767 | 767 |
| 768 web_data_service_->Shutdown(); | 768 web_data_service_->Shutdown(); |
| 769 } | 769 } |
| OLD | NEW |