| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/testing_profile.h" | 5 #include "chrome/test/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 26 matching lines...) Expand all Loading... |
| 37 #include "chrome/browser/search_engines/template_url_fetcher.h" | 37 #include "chrome/browser/search_engines/template_url_fetcher.h" |
| 38 #include "chrome/browser/search_engines/template_url_service.h" | 38 #include "chrome/browser/search_engines/template_url_service.h" |
| 39 #include "chrome/browser/search_engines/template_url_service_factory.h" | 39 #include "chrome/browser/search_engines/template_url_service_factory.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/find_bar/find_bar_state.h" | 41 #include "chrome/browser/ui/find_bar/find_bar_state.h" |
| 42 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 42 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 43 #include "chrome/common/chrome_constants.h" | 43 #include "chrome/common/chrome_constants.h" |
| 44 #include "chrome/common/chrome_notification_types.h" | 44 #include "chrome/common/chrome_notification_types.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/test_url_request_context_getter.h" |
| 47 #include "chrome/test/base/ui_test_utils.h" | 48 #include "chrome/test/base/ui_test_utils.h" |
| 48 #include "chrome/test/test_url_request_context_getter.h" | |
| 49 #include "chrome/test/testing_pref_service.h" | 49 #include "chrome/test/testing_pref_service.h" |
| 50 #include "content/browser/browser_thread.h" | 50 #include "content/browser/browser_thread.h" |
| 51 #include "content/browser/in_process_webkit/webkit_context.h" | 51 #include "content/browser/in_process_webkit/webkit_context.h" |
| 52 #include "content/browser/mock_resource_context.h" | 52 #include "content/browser/mock_resource_context.h" |
| 53 #include "content/common/notification_service.h" | 53 #include "content/common/notification_service.h" |
| 54 #include "net/base/cookie_monster.h" | 54 #include "net/base/cookie_monster.h" |
| 55 #include "net/url_request/url_request_context.h" | 55 #include "net/url_request/url_request_context.h" |
| 56 #include "net/url_request/url_request_context_getter.h" | 56 #include "net/url_request/url_request_context_getter.h" |
| 57 #include "net/url_request/url_request_test_util.h" | 57 #include "net/url_request/url_request_test_util.h" |
| 58 #include "testing/gmock/include/gmock/gmock.h" | 58 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { | 787 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { |
| 788 return GetExtensionSpecialStoragePolicy(); | 788 return GetExtensionSpecialStoragePolicy(); |
| 789 } | 789 } |
| 790 | 790 |
| 791 void TestingProfile::DestroyWebDataService() { | 791 void TestingProfile::DestroyWebDataService() { |
| 792 if (!web_data_service_.get()) | 792 if (!web_data_service_.get()) |
| 793 return; | 793 return; |
| 794 | 794 |
| 795 web_data_service_->Shutdown(); | 795 web_data_service_->Shutdown(); |
| 796 } | 796 } |
| OLD | NEW |