| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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" |
| 63 #include "url/third_party/mozilla/url_parse.h" | 63 #include "url/third_party/mozilla/url_parse.h" |
| 64 | 64 |
| 65 #if defined(OS_CHROMEOS) | 65 #if defined(OS_CHROMEOS) |
| 66 #include "chrome/browser/chromeos/login/user_manager.h" | 66 #include "chrome/browser/chromeos/login/users/user_manager.h" |
| 67 #include "chrome/browser/chromeos/settings/cros_settings.h" | 67 #include "chrome/browser/chromeos/settings/cros_settings.h" |
| 68 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 68 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 using base::Time; | 71 using base::Time; |
| 72 using base::TimeDelta; | 72 using base::TimeDelta; |
| 73 using content::BrowserThread; | 73 using content::BrowserThread; |
| 74 using testing::DoAll; | 74 using testing::DoAll; |
| 75 using testing::Invoke; | 75 using testing::Invoke; |
| 76 using testing::InvokeWithoutArgs; | 76 using testing::InvokeWithoutArgs; |
| (...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1862 // -prodversionmin (shouldn't update if browser version too old) | 1862 // -prodversionmin (shouldn't update if browser version too old) |
| 1863 // -manifests & updates arriving out of order / interleaved | 1863 // -manifests & updates arriving out of order / interleaved |
| 1864 // -malformed update url (empty, file://, has query, has a # fragment, etc.) | 1864 // -malformed update url (empty, file://, has query, has a # fragment, etc.) |
| 1865 // -An extension gets uninstalled while updates are in progress (so it doesn't | 1865 // -An extension gets uninstalled while updates are in progress (so it doesn't |
| 1866 // "come back from the dead") | 1866 // "come back from the dead") |
| 1867 // -An extension gets manually updated to v3 while we're downloading v2 (ie | 1867 // -An extension gets manually updated to v3 while we're downloading v2 (ie |
| 1868 // you don't get downgraded accidentally) | 1868 // you don't get downgraded accidentally) |
| 1869 // -An update manifest mentions multiple updates | 1869 // -An update manifest mentions multiple updates |
| 1870 | 1870 |
| 1871 } // namespace extensions | 1871 } // namespace extensions |
| OLD | NEW |