OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/browser/extensions/external_provider_impl.h" | 5 #include "chrome/browser/extensions/external_provider_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | |
9 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/prefs/testing_pref_service.h" | 12 #include "base/prefs/testing_pref_service.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/test/scoped_path_override.h" | 14 #include "base/test/scoped_path_override.h" |
15 #include "chrome/browser/chrome_notification_types.h" | 15 #include "chrome/browser/chrome_notification_types.h" |
16 #include "chrome/browser/extensions/extension_service.h" | 16 #include "chrome/browser/extensions/extension_service.h" |
17 #include "chrome/browser/extensions/extension_service_test_base.h" | 17 #include "chrome/browser/extensions/extension_service_test_base.h" |
18 #include "chrome/browser/extensions/updater/extension_cache_fake.h" | 18 #include "chrome/browser/extensions/updater/extension_cache_fake.h" |
19 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 service_->CheckForExternalUpdates(); | 172 service_->CheckForExternalUpdates(); |
173 runner->Run(); | 173 runner->Run(); |
174 | 174 |
175 EXPECT_TRUE(service_->GetInstalledExtension( | 175 EXPECT_TRUE(service_->GetInstalledExtension( |
176 extension_misc::kInAppPaymentsSupportAppId)); | 176 extension_misc::kInAppPaymentsSupportAppId)); |
177 EXPECT_TRUE(service_->IsExtensionEnabled( | 177 EXPECT_TRUE(service_->IsExtensionEnabled( |
178 extension_misc::kInAppPaymentsSupportAppId)); | 178 extension_misc::kInAppPaymentsSupportAppId)); |
179 } | 179 } |
180 | 180 |
181 } // namespace extensions | 181 } // namespace extensions |
OLD | NEW |