OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/file_util.h" | |
6 #include "base/files/file_enumerator.h" | 5 #include "base/files/file_enumerator.h" |
7 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/files/file_util.h" |
8 #include "base/prefs/scoped_user_pref_update.h" | 8 #include "base/prefs/scoped_user_pref_update.h" |
9 #include "base/threading/sequenced_worker_pool.h" | 9 #include "base/threading/sequenced_worker_pool.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/extensions/extension_garbage_collector.h" | 11 #include "chrome/browser/extensions/extension_garbage_collector.h" |
12 #include "chrome/browser/extensions/extension_service.h" | 12 #include "chrome/browser/extensions/extension_service.h" |
13 #include "chrome/browser/extensions/extension_service_test_base.h" | 13 #include "chrome/browser/extensions/extension_service_test_base.h" |
14 #include "chrome/browser/extensions/install_tracker.h" | 14 #include "chrome/browser/extensions/install_tracker.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 EXPECT_FALSE(base::PathExists(extensions_install_dir().AppendASCII( | 191 EXPECT_FALSE(base::PathExists(extensions_install_dir().AppendASCII( |
192 "hpiknbiabeeppbpihjehijgoemciehgk/3"))); | 192 "hpiknbiabeeppbpihjehijgoemciehgk/3"))); |
193 | 193 |
194 // Make sure update information got deleted. | 194 // Make sure update information got deleted. |
195 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_.get()); | 195 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_.get()); |
196 EXPECT_FALSE( | 196 EXPECT_FALSE( |
197 prefs->GetDelayedInstallInfo("bjafgdebaacbbbecmhlhpofkepfkgcpa")); | 197 prefs->GetDelayedInstallInfo("bjafgdebaacbbbecmhlhpofkepfkgcpa")); |
198 } | 198 } |
199 | 199 |
200 } // namespace extensions | 200 } // namespace extensions |
OLD | NEW |