OLD | NEW |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 #include "net/base/escape.h" | 60 #include "net/base/escape.h" |
61 #include "net/base/load_flags.h" | 61 #include "net/base/load_flags.h" |
62 #include "net/http/http_request_headers.h" | 62 #include "net/http/http_request_headers.h" |
63 #include "net/url_request/test_url_fetcher_factory.h" | 63 #include "net/url_request/test_url_fetcher_factory.h" |
64 #include "net/url_request/url_request_status.h" | 64 #include "net/url_request/url_request_status.h" |
65 #include "testing/gmock/include/gmock/gmock.h" | 65 #include "testing/gmock/include/gmock/gmock.h" |
66 #include "testing/gtest/include/gtest/gtest.h" | 66 #include "testing/gtest/include/gtest/gtest.h" |
67 #include "url/third_party/mozilla/url_parse.h" | 67 #include "url/third_party/mozilla/url_parse.h" |
68 | 68 |
69 #if defined(OS_CHROMEOS) | 69 #if defined(OS_CHROMEOS) |
70 #include "chrome/browser/chromeos/login/users/user_manager.h" | 70 #include "chrome/browser/chromeos/login/users/scoped_test_user_manager.h" |
71 #include "chrome/browser/chromeos/settings/cros_settings.h" | 71 #include "chrome/browser/chromeos/settings/cros_settings.h" |
72 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 72 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
73 #endif | 73 #endif |
74 | 74 |
75 using base::Time; | 75 using base::Time; |
76 using base::TimeDelta; | 76 using base::TimeDelta; |
77 using content::BrowserThread; | 77 using content::BrowserThread; |
78 using testing::DoAll; | 78 using testing::DoAll; |
79 using testing::Invoke; | 79 using testing::Invoke; |
80 using testing::InvokeWithoutArgs; | 80 using testing::InvokeWithoutArgs; |
(...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2041 // -prodversionmin (shouldn't update if browser version too old) | 2041 // -prodversionmin (shouldn't update if browser version too old) |
2042 // -manifests & updates arriving out of order / interleaved | 2042 // -manifests & updates arriving out of order / interleaved |
2043 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 2043 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
2044 // -An extension gets uninstalled while updates are in progress (so it doesn't | 2044 // -An extension gets uninstalled while updates are in progress (so it doesn't |
2045 // "come back from the dead") | 2045 // "come back from the dead") |
2046 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 2046 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
2047 // you don't get downgraded accidentally) | 2047 // you don't get downgraded accidentally) |
2048 // -An update manifest mentions multiple updates | 2048 // -An update manifest mentions multiple updates |
2049 | 2049 |
2050 } // namespace extensions | 2050 } // namespace extensions |
OLD | NEW |