| 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_WEBSTORE_STARTUP_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" |
| 8 #include "chrome/browser/extensions/webstore_install_with_prompt.h" | 9 #include "chrome/browser/extensions/webstore_install_with_prompt.h" |
| 9 | 10 |
| 10 namespace extensions { | 11 namespace extensions { |
| 11 | 12 |
| 12 // Manages inline installs requested to be performed at startup, e.g. via a | 13 // Manages inline installs requested to be performed at startup, e.g. via a |
| 13 // command line option: downloads and parses metadata from the webstore, | 14 // command line option: downloads and parses metadata from the webstore, |
| 14 // optionally shows an install UI, starts the download once the user | 15 // optionally shows an install UI, starts the download once the user |
| 15 // confirms. | 16 // confirms. |
| 16 // | 17 // |
| 17 // Clients will be notified of success or failure via the |callback| argument | 18 // Clients will be notified of success or failure via the |callback| argument |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 | 36 |
| 36 private: | 37 private: |
| 37 bool show_prompt_; | 38 bool show_prompt_; |
| 38 | 39 |
| 39 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); | 40 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace extensions | 43 } // namespace extensions |
| 43 | 44 |
| 44 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ | 45 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ |
| OLD | NEW |