| 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 28 matching lines...) Expand all Loading... |
| 39 #include "chrome/browser/ui/find_bar/find_bar_state.h" | 39 #include "chrome/browser/ui/find_bar/find_bar_state.h" |
| 40 #include "chrome/common/chrome_constants.h" | 40 #include "chrome/common/chrome_constants.h" |
| 41 #include "chrome/common/net/url_request_context_getter.h" | 41 #include "chrome/common/net/url_request_context_getter.h" |
| 42 #include "chrome/common/notification_service.h" | 42 #include "chrome/common/notification_service.h" |
| 43 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
| 44 #include "chrome/test/test_url_request_context_getter.h" | 44 #include "chrome/test/test_url_request_context_getter.h" |
| 45 #include "chrome/test/testing_pref_service.h" | 45 #include "chrome/test/testing_pref_service.h" |
| 46 #include "chrome/test/ui_test_utils.h" | 46 #include "chrome/test/ui_test_utils.h" |
| 47 #include "net/base/cookie_monster.h" | 47 #include "net/base/cookie_monster.h" |
| 48 #include "net/url_request/url_request_context.h" | 48 #include "net/url_request/url_request_context.h" |
| 49 #include "net/url_request/url_request_unittest.h" | 49 #include "net/url_request/url_request_test_util.h" |
| 50 #include "testing/gmock/include/gmock/gmock.h" | 50 #include "testing/gmock/include/gmock/gmock.h" |
| 51 #include "webkit/database/database_tracker.h" | 51 #include "webkit/database/database_tracker.h" |
| 52 #if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS) | 52 #if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS) |
| 53 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" | 53 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 using base::Time; | 56 using base::Time; |
| 57 using testing::NiceMock; | 57 using testing::NiceMock; |
| 58 using testing::Return; | 58 using testing::Return; |
| 59 | 59 |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 } | 524 } |
| 525 return profile_sync_service_.get(); | 525 return profile_sync_service_.get(); |
| 526 } | 526 } |
| 527 | 527 |
| 528 void TestingProfile::DestroyWebDataService() { | 528 void TestingProfile::DestroyWebDataService() { |
| 529 if (!web_data_service_.get()) | 529 if (!web_data_service_.get()) |
| 530 return; | 530 return; |
| 531 | 531 |
| 532 web_data_service_->Shutdown(); | 532 web_data_service_->Shutdown(); |
| 533 } | 533 } |
| OLD | NEW |