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

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

Issue 654363002: Move ExtensionDownloader to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 13 matching lines...) Expand all
24 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
25 #include "base/version.h" 25 #include "base/version.h"
26 #include "chrome/browser/chrome_notification_types.h" 26 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/extensions/crx_installer.h" 27 #include "chrome/browser/extensions/crx_installer.h"
28 #include "chrome/browser/extensions/extension_error_reporter.h" 28 #include "chrome/browser/extensions/extension_error_reporter.h"
29 #include "chrome/browser/extensions/extension_sync_data.h" 29 #include "chrome/browser/extensions/extension_sync_data.h"
30 #include "chrome/browser/extensions/test_extension_prefs.h" 30 #include "chrome/browser/extensions/test_extension_prefs.h"
31 #include "chrome/browser/extensions/test_extension_service.h" 31 #include "chrome/browser/extensions/test_extension_service.h"
32 #include "chrome/browser/extensions/test_extension_system.h" 32 #include "chrome/browser/extensions/test_extension_system.h"
33 #include "chrome/browser/extensions/updater/chrome_extension_downloader_factory. h" 33 #include "chrome/browser/extensions/updater/chrome_extension_downloader_factory. h"
34 #include "chrome/browser/extensions/updater/extension_downloader.h"
35 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h"
36 #include "chrome/browser/extensions/updater/extension_updater.h" 34 #include "chrome/browser/extensions/updater/extension_updater.h"
37 #include "chrome/browser/google/google_brand.h" 35 #include "chrome/browser/google/google_brand.h"
38 #include "chrome/browser/prefs/pref_service_syncable.h" 36 #include "chrome/browser/prefs/pref_service_syncable.h"
39 #include "chrome/common/pref_names.h" 37 #include "chrome/common/pref_names.h"
40 #include "chrome/test/base/testing_profile.h" 38 #include "chrome/test/base/testing_profile.h"
41 #include "components/crx_file/id_util.h" 39 #include "components/crx_file/id_util.h"
42 #include "components/omaha_query_params/omaha_query_params.h" 40 #include "components/omaha_query_params/omaha_query_params.h"
43 #include "content/public/browser/notification_details.h" 41 #include "content/public/browser/notification_details.h"
44 #include "content/public/browser/notification_observer.h" 42 #include "content/public/browser/notification_observer.h"
45 #include "content/public/browser/notification_registrar.h" 43 #include "content/public/browser/notification_registrar.h"
46 #include "content/public/browser/notification_service.h" 44 #include "content/public/browser/notification_service.h"
47 #include "content/public/browser/notification_source.h" 45 #include "content/public/browser/notification_source.h"
48 #include "content/public/test/test_browser_thread_bundle.h" 46 #include "content/public/test/test_browser_thread_bundle.h"
49 #include "content/public/test/test_utils.h" 47 #include "content/public/test/test_utils.h"
50 #include "extensions/browser/extension_prefs.h" 48 #include "extensions/browser/extension_prefs.h"
51 #include "extensions/browser/extension_registry.h" 49 #include "extensions/browser/extension_registry.h"
52 #include "extensions/browser/extension_system.h" 50 #include "extensions/browser/extension_system.h"
51 #include "extensions/browser/updater/extension_downloader.h"
52 #include "extensions/browser/updater/extension_downloader_delegate.h"
53 #include "extensions/browser/updater/manifest_fetch_data.h" 53 #include "extensions/browser/updater/manifest_fetch_data.h"
54 #include "extensions/browser/updater/request_queue_impl.h" 54 #include "extensions/browser/updater/request_queue_impl.h"
55 #include "extensions/common/extension.h" 55 #include "extensions/common/extension.h"
56 #include "extensions/common/extension_urls.h" 56 #include "extensions/common/extension_urls.h"
57 #include "extensions/common/manifest_constants.h" 57 #include "extensions/common/manifest_constants.h"
58 #include "google_apis/gaia/fake_identity_provider.h" 58 #include "google_apis/gaia/fake_identity_provider.h"
59 #include "google_apis/gaia/fake_oauth2_token_service.h" 59 #include "google_apis/gaia/fake_oauth2_token_service.h"
60 #include "libxml/globals.h" 60 #include "libxml/globals.h"
61 #include "net/base/backoff_entry.h" 61 #include "net/base/backoff_entry.h"
62 #include "net/base/escape.h" 62 #include "net/base/escape.h"
(...skipping 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 // -prodversionmin (shouldn't update if browser version too old) 2063 // -prodversionmin (shouldn't update if browser version too old)
2064 // -manifests & updates arriving out of order / interleaved 2064 // -manifests & updates arriving out of order / interleaved
2065 // -malformed update url (empty, file://, has query, has a # fragment, etc.) 2065 // -malformed update url (empty, file://, has query, has a # fragment, etc.)
2066 // -An extension gets uninstalled while updates are in progress (so it doesn't 2066 // -An extension gets uninstalled while updates are in progress (so it doesn't
2067 // "come back from the dead") 2067 // "come back from the dead")
2068 // -An extension gets manually updated to v3 while we're downloading v2 (ie 2068 // -An extension gets manually updated to v3 while we're downloading v2 (ie
2069 // you don't get downgraded accidentally) 2069 // you don't get downgraded accidentally)
2070 // -An update manifest mentions multiple updates 2070 // -An update manifest mentions multiple updates
2071 2071
2072 } // namespace extensions 2072 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/extension_updater.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698