OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <map> | 5 #include <map> |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
11 #include "base/string_split.h" | 11 #include "base/string_split.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/thread.h" | 14 #include "base/thread.h" |
15 #include "base/version.h" | 15 #include "base/version.h" |
16 #include "chrome/browser/browser_thread.h" | 16 #include "chrome/browser/browser_thread.h" |
17 #include "chrome/browser/extensions/extension_error_reporter.h" | 17 #include "chrome/browser/extensions/extension_error_reporter.h" |
18 #include "chrome/browser/extensions/extension_updater.h" | 18 #include "chrome/browser/extensions/extension_updater.h" |
19 #include "chrome/browser/extensions/extensions_service.h" | 19 #include "chrome/browser/extensions/extension_service.h" |
20 #include "chrome/browser/extensions/test_extension_prefs.h" | 20 #include "chrome/browser/extensions/test_extension_prefs.h" |
21 #include "chrome/browser/prefs/pref_service.h" | 21 #include "chrome/browser/prefs/pref_service.h" |
22 #include "chrome/common/extensions/extension.h" | 22 #include "chrome/common/extensions/extension.h" |
23 #include "chrome/common/extensions/extension_constants.h" | 23 #include "chrome/common/extensions/extension_constants.h" |
24 #include "chrome/common/pref_names.h" | 24 #include "chrome/common/pref_names.h" |
25 #include "chrome/common/net/test_url_fetcher_factory.h" | 25 #include "chrome/common/net/test_url_fetcher_factory.h" |
26 #include "net/base/escape.h" | 26 #include "net/base/escape.h" |
27 #include "net/base/load_flags.h" | 27 #include "net/base/load_flags.h" |
28 #include "net/url_request/url_request_status.h" | 28 #include "net/url_request/url_request_status.h" |
29 #include "testing/gtest/include/gtest/gtest.h" | 29 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 // -prodversionmin (shouldn't update if browser version too old) | 1054 // -prodversionmin (shouldn't update if browser version too old) |
1055 // -manifests & updates arriving out of order / interleaved | 1055 // -manifests & updates arriving out of order / interleaved |
1056 // -Profile::GetDefaultRequestContext() returning null | 1056 // -Profile::GetDefaultRequestContext() returning null |
1057 // (should not crash, but just do check later) | 1057 // (should not crash, but just do check later) |
1058 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 1058 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
1059 // -An extension gets uninstalled while updates are in progress (so it doesn't | 1059 // -An extension gets uninstalled while updates are in progress (so it doesn't |
1060 // "come back from the dead") | 1060 // "come back from the dead") |
1061 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 1061 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
1062 // you don't get downgraded accidentally) | 1062 // you don't get downgraded accidentally) |
1063 // -An update manifest mentions multiple updates | 1063 // -An update manifest mentions multiple updates |
OLD | NEW |