| 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 #ifndef CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/version.h" | 10 #include "base/version.h" |
| 11 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
| 12 #include "chrome/common/extensions/manifest.h" | 12 #include "extensions/common/manifest.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 FORWARD_DECLARE_TEST(ExtensionServiceTest, AddPendingExtensionFromSync); | 15 FORWARD_DECLARE_TEST(ExtensionServiceTest, AddPendingExtensionFromSync); |
| 16 | 16 |
| 17 namespace extensions { | 17 namespace extensions { |
| 18 | 18 |
| 19 // A pending extension is an extension that hasn't been installed yet | 19 // A pending extension is an extension that hasn't been installed yet |
| 20 // and is intended to be installed in the next auto-update cycle. The | 20 // and is intended to be installed in the next auto-update cycle. The |
| 21 // update URL of a pending extension may be blank, in which case a | 21 // update URL of a pending extension may be blank, in which case a |
| 22 // default one is assumed. | 22 // default one is assumed. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool is_from_sync_; // This update check was initiated from sync. | 79 bool is_from_sync_; // This update check was initiated from sync. |
| 80 bool install_silently_; | 80 bool install_silently_; |
| 81 Manifest::Location install_source_; | 81 Manifest::Location install_source_; |
| 82 | 82 |
| 83 FRIEND_TEST_ALL_PREFIXES(::ExtensionServiceTest, AddPendingExtensionFromSync); | 83 FRIEND_TEST_ALL_PREFIXES(::ExtensionServiceTest, AddPendingExtensionFromSync); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace extensions | 86 } // namespace extensions |
| 87 | 87 |
| 88 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ | 88 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ |
| OLD | NEW |