Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Side by Side Diff: chrome/browser/extensions/updater/extension_updater_unittest.cc

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <list> 5 #include <list>
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/browser/chrome_notification_types.h" 27 #include "chrome/browser/chrome_notification_types.h"
28 #include "chrome/browser/extensions/crx_installer.h" 28 #include "chrome/browser/extensions/crx_installer.h"
29 #include "chrome/browser/extensions/extension_error_reporter.h" 29 #include "chrome/browser/extensions/extension_error_reporter.h"
30 #include "chrome/browser/extensions/extension_sync_data.h" 30 #include "chrome/browser/extensions/extension_sync_data.h"
31 #include "chrome/browser/extensions/test_extension_prefs.h" 31 #include "chrome/browser/extensions/test_extension_prefs.h"
32 #include "chrome/browser/extensions/test_extension_service.h" 32 #include "chrome/browser/extensions/test_extension_service.h"
33 #include "chrome/browser/extensions/test_extension_system.h" 33 #include "chrome/browser/extensions/test_extension_system.h"
34 #include "chrome/browser/extensions/updater/chrome_extension_downloader_factory. h" 34 #include "chrome/browser/extensions/updater/chrome_extension_downloader_factory. h"
35 #include "chrome/browser/extensions/updater/extension_updater.h" 35 #include "chrome/browser/extensions/updater/extension_updater.h"
36 #include "chrome/browser/google/google_brand.h" 36 #include "chrome/browser/google/google_brand.h"
37 #include "chrome/browser/prefs/pref_service_syncable.h"
38 #include "chrome/test/base/scoped_testing_local_state.h" 37 #include "chrome/test/base/scoped_testing_local_state.h"
39 #include "chrome/test/base/testing_browser_process.h" 38 #include "chrome/test/base/testing_browser_process.h"
40 #include "chrome/test/base/testing_profile.h" 39 #include "chrome/test/base/testing_profile.h"
41 #include "components/crx_file/id_util.h" 40 #include "components/crx_file/id_util.h"
41 #include "components/syncable_prefs/pref_service_syncable.h"
42 #include "components/update_client/update_query_params.h" 42 #include "components/update_client/update_query_params.h"
43 #include "content/public/browser/notification_details.h" 43 #include "content/public/browser/notification_details.h"
44 #include "content/public/browser/notification_observer.h" 44 #include "content/public/browser/notification_observer.h"
45 #include "content/public/browser/notification_registrar.h" 45 #include "content/public/browser/notification_registrar.h"
46 #include "content/public/browser/notification_service.h" 46 #include "content/public/browser/notification_service.h"
47 #include "content/public/browser/notification_source.h" 47 #include "content/public/browser/notification_source.h"
48 #include "content/public/test/test_browser_thread_bundle.h" 48 #include "content/public/test/test_browser_thread_bundle.h"
49 #include "content/public/test/test_utils.h" 49 #include "content/public/test/test_utils.h"
50 #include "extensions/browser/extension_prefs.h" 50 #include "extensions/browser/extension_prefs.h"
51 #include "extensions/browser/extension_registry.h" 51 #include "extensions/browser/extension_registry.h"
(...skipping 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 // -prodversionmin (shouldn't update if browser version too old) 2239 // -prodversionmin (shouldn't update if browser version too old)
2240 // -manifests & updates arriving out of order / interleaved 2240 // -manifests & updates arriving out of order / interleaved
2241 // -malformed update url (empty, file://, has query, has a # fragment, etc.) 2241 // -malformed update url (empty, file://, has query, has a # fragment, etc.)
2242 // -An extension gets uninstalled while updates are in progress (so it doesn't 2242 // -An extension gets uninstalled while updates are in progress (so it doesn't
2243 // "come back from the dead") 2243 // "come back from the dead")
2244 // -An extension gets manually updated to v3 while we're downloading v2 (ie 2244 // -An extension gets manually updated to v3 while we're downloading v2 (ie
2245 // you don't get downgraded accidentally) 2245 // you don't get downgraded accidentally)
2246 // -An update manifest mentions multiple updates 2246 // -An update manifest mentions multiple updates
2247 2247
2248 } // namespace extensions 2248 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.cc ('k') | chrome/browser/font_family_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698