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

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

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
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 20 matching lines...) Expand all
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/extension_downloader.h" 34 #include "chrome/browser/extensions/updater/extension_downloader.h"
35 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h" 35 #include "chrome/browser/extensions/updater/extension_downloader_delegate.h"
36 #include "chrome/browser/extensions/updater/extension_updater.h" 36 #include "chrome/browser/extensions/updater/extension_updater.h"
37 #include "chrome/browser/extensions/updater/manifest_fetch_data.h" 37 #include "chrome/browser/extensions/updater/manifest_fetch_data.h"
38 #include "chrome/browser/extensions/updater/request_queue_impl.h" 38 #include "chrome/browser/extensions/updater/request_queue_impl.h"
39 #include "chrome/browser/google/google_util.h" 39 #include "chrome/browser/google/google_util.h"
40 #include "chrome/browser/prefs/pref_service_syncable.h" 40 #include "chrome/browser/prefs/pref_service_syncable.h"
41 #include "chrome/common/extensions/extension.h"
42 #include "chrome/common/omaha_query_params/omaha_query_params.h" 41 #include "chrome/common/omaha_query_params/omaha_query_params.h"
43 #include "chrome/common/pref_names.h" 42 #include "chrome/common/pref_names.h"
44 #include "chrome/test/base/testing_profile.h" 43 #include "chrome/test/base/testing_profile.h"
45 #include "content/public/browser/notification_details.h" 44 #include "content/public/browser/notification_details.h"
46 #include "content/public/browser/notification_observer.h" 45 #include "content/public/browser/notification_observer.h"
47 #include "content/public/browser/notification_registrar.h" 46 #include "content/public/browser/notification_registrar.h"
48 #include "content/public/browser/notification_service.h" 47 #include "content/public/browser/notification_service.h"
49 #include "content/public/browser/notification_source.h" 48 #include "content/public/browser/notification_source.h"
50 #include "content/public/browser/render_process_host.h" 49 #include "content/public/browser/render_process_host.h"
51 #include "content/public/test/test_browser_thread_bundle.h" 50 #include "content/public/test/test_browser_thread_bundle.h"
52 #include "content/public/test/test_utils.h" 51 #include "content/public/test/test_utils.h"
52 #include "extensions/common/extension.h"
53 #include "extensions/common/id_util.h" 53 #include "extensions/common/id_util.h"
54 #include "extensions/common/manifest_constants.h" 54 #include "extensions/common/manifest_constants.h"
55 #include "libxml/globals.h" 55 #include "libxml/globals.h"
56 #include "net/base/backoff_entry.h" 56 #include "net/base/backoff_entry.h"
57 #include "net/base/escape.h" 57 #include "net/base/escape.h"
58 #include "net/base/load_flags.h" 58 #include "net/base/load_flags.h"
59 #include "net/url_request/test_url_fetcher_factory.h" 59 #include "net/url_request/test_url_fetcher_factory.h"
60 #include "net/url_request/url_request_status.h" 60 #include "net/url_request/url_request_status.h"
61 #include "testing/gmock/include/gmock/gmock.h" 61 #include "testing/gmock/include/gmock/gmock.h"
62 #include "testing/gtest/include/gtest/gtest.h" 62 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 // -prodversionmin (shouldn't update if browser version too old) 1639 // -prodversionmin (shouldn't update if browser version too old)
1640 // -manifests & updates arriving out of order / interleaved 1640 // -manifests & updates arriving out of order / interleaved
1641 // -malformed update url (empty, file://, has query, has a # fragment, etc.) 1641 // -malformed update url (empty, file://, has query, has a # fragment, etc.)
1642 // -An extension gets uninstalled while updates are in progress (so it doesn't 1642 // -An extension gets uninstalled while updates are in progress (so it doesn't
1643 // "come back from the dead") 1643 // "come back from the dead")
1644 // -An extension gets manually updated to v3 while we're downloading v2 (ie 1644 // -An extension gets manually updated to v3 while we're downloading v2 (ie
1645 // you don't get downgraded accidentally) 1645 // you don't get downgraded accidentally)
1646 // -An update manifest mentions multiple updates 1646 // -An update manifest mentions multiple updates
1647 1647
1648 } // namespace extensions 1648 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/extension_updater.cc ('k') | chrome/browser/extensions/user_script_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698