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 #pragma once | |
8 | 7 |
9 #include "base/version.h" | 8 #include "base/version.h" |
10 #include "chrome/common/extensions/extension.h" | 9 #include "chrome/common/extensions/extension.h" |
11 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
12 | 11 |
13 // A pending extension is an extension that hasn't been installed yet | 12 // A pending extension is an extension that hasn't been installed yet |
14 // and is intended to be installed in the next auto-update cycle. The | 13 // and is intended to be installed in the next auto-update cycle. The |
15 // update URL of a pending extension may be blank, in which case a | 14 // update URL of a pending extension may be blank, in which case a |
16 // default one is assumed. | 15 // default one is assumed. |
17 // TODO(skerner): Make this class an implementation detail of | 16 // TODO(skerner): Make this class an implementation detail of |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 ShouldAllowInstallPredicate should_allow_install_; | 65 ShouldAllowInstallPredicate should_allow_install_; |
67 | 66 |
68 bool is_from_sync_; // This update check was initiated from sync. | 67 bool is_from_sync_; // This update check was initiated from sync. |
69 bool install_silently_; | 68 bool install_silently_; |
70 extensions::Extension::Location install_source_; | 69 extensions::Extension::Location install_source_; |
71 | 70 |
72 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, AddPendingExtensionFromSync); | 71 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, AddPendingExtensionFromSync); |
73 }; | 72 }; |
74 | 73 |
75 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ | 74 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ |
OLD | NEW |