OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/stl_util-inl.h" | 11 #include "base/stl_util.h" |
12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
13 #include "base/string_split.h" | 13 #include "base/string_split.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "base/version.h" | 17 #include "base/version.h" |
18 #include "chrome/browser/extensions/crx_installer.h" | 18 #include "chrome/browser/extensions/crx_installer.h" |
19 #include "chrome/browser/extensions/extension_error_reporter.h" | 19 #include "chrome/browser/extensions/extension_error_reporter.h" |
20 #include "chrome/browser/extensions/extension_sync_data.h" | 20 #include "chrome/browser/extensions/extension_sync_data.h" |
21 #include "chrome/browser/extensions/extension_updater.h" | 21 #include "chrome/browser/extensions/extension_updater.h" |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 | 1241 |
1242 // TODO(asargent) - (http://crbug.com/12780) add tests for: | 1242 // TODO(asargent) - (http://crbug.com/12780) add tests for: |
1243 // -prodversionmin (shouldn't update if browser version too old) | 1243 // -prodversionmin (shouldn't update if browser version too old) |
1244 // -manifests & updates arriving out of order / interleaved | 1244 // -manifests & updates arriving out of order / interleaved |
1245 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 1245 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
1246 // -An extension gets uninstalled while updates are in progress (so it doesn't | 1246 // -An extension gets uninstalled while updates are in progress (so it doesn't |
1247 // "come back from the dead") | 1247 // "come back from the dead") |
1248 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 1248 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
1249 // you don't get downgraded accidentally) | 1249 // you don't get downgraded accidentally) |
1250 // -An update manifest mentions multiple updates | 1250 // -An update manifest mentions multiple updates |
OLD | NEW |