| 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/rand_util.h" | |
| 9 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 10 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
| 11 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 12 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 13 #include "base/thread.h" | 12 #include "base/thread.h" |
| 14 #include "base/version.h" | 13 #include "base/version.h" |
| 15 #include "chrome/browser/chrome_thread.h" | 14 #include "chrome/browser/chrome_thread.h" |
| 16 #include "chrome/browser/extensions/extension_error_reporter.h" | 15 #include "chrome/browser/extensions/extension_error_reporter.h" |
| 17 #include "chrome/browser/extensions/extension_updater.h" | 16 #include "chrome/browser/extensions/extension_updater.h" |
| 18 #include "chrome/browser/extensions/extensions_service.h" | 17 #include "chrome/browser/extensions/extensions_service.h" |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 // -prodversionmin (shouldn't update if browser version too old) | 908 // -prodversionmin (shouldn't update if browser version too old) |
| 910 // -manifests & updates arriving out of order / interleaved | 909 // -manifests & updates arriving out of order / interleaved |
| 911 // -Profile::GetDefaultRequestContext() returning null | 910 // -Profile::GetDefaultRequestContext() returning null |
| 912 // (should not crash, but just do check later) | 911 // (should not crash, but just do check later) |
| 913 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 912 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
| 914 // -An extension gets uninstalled while updates are in progress (so it doesn't | 913 // -An extension gets uninstalled while updates are in progress (so it doesn't |
| 915 // "come back from the dead") | 914 // "come back from the dead") |
| 916 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 915 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
| 917 // you don't get downgraded accidentally) | 916 // you don't get downgraded accidentally) |
| 918 // -An update manifest mentions multiple updates | 917 // -An update manifest mentions multiple updates |
| OLD | NEW |