| 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_EXTERNAL_PROVIDER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 static const char kExternalCrx[]; | 66 static const char kExternalCrx[]; |
| 67 static const char kExternalVersion[]; | 67 static const char kExternalVersion[]; |
| 68 static const char kExternalUpdateUrl[]; | 68 static const char kExternalUpdateUrl[]; |
| 69 static const char kInstallParam[]; | 69 static const char kInstallParam[]; |
| 70 static const char kIsBookmarkApp[]; | 70 static const char kIsBookmarkApp[]; |
| 71 static const char kIsFromWebstore[]; | 71 static const char kIsFromWebstore[]; |
| 72 static const char kKeepIfPresent[]; | 72 static const char kKeepIfPresent[]; |
| 73 static const char kSupportedLocales[]; | 73 static const char kSupportedLocales[]; |
| 74 static const char kWasInstalledByOem[]; | 74 static const char kWasInstalledByOem[]; |
| 75 static const char kMayBeUntrusted[]; | 75 static const char kMayBeUntrusted[]; |
| 76 static const char kMinProfileCreatedByVersion[]; |
| 76 | 77 |
| 77 void set_auto_acknowledge(bool auto_acknowledge) { | 78 void set_auto_acknowledge(bool auto_acknowledge) { |
| 78 auto_acknowledge_ = auto_acknowledge; | 79 auto_acknowledge_ = auto_acknowledge; |
| 79 } | 80 } |
| 80 | 81 |
| 81 void set_install_immediately(bool install_immediately) { | 82 void set_install_immediately(bool install_immediately) { |
| 82 install_immediately_ = install_immediately; | 83 install_immediately_ = install_immediately; |
| 83 } | 84 } |
| 84 | 85 |
| 85 private: | 86 private: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 120 |
| 120 // Whether the extensions from this provider should be installed immediately. | 121 // Whether the extensions from this provider should be installed immediately. |
| 121 bool install_immediately_; | 122 bool install_immediately_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(ExternalProviderImpl); | 124 DISALLOW_COPY_AND_ASSIGN(ExternalProviderImpl); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace extensions | 127 } // namespace extensions |
| 127 | 128 |
| 128 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ | 129 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_ |
| OLD | NEW |