| 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 "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/browser/extensions/webstore_install_with_prompt.h" | 10 #include "chrome/browser/extensions/webstore_install_with_prompt.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 bool show_prompt, | 25 bool show_prompt, |
| 26 const Callback& callback); | 26 const Callback& callback); |
| 27 | 27 |
| 28 protected: | 28 protected: |
| 29 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>; | 29 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>; |
| 30 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification); | 30 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification); |
| 31 | 31 |
| 32 ~WebstoreStartupInstaller() override; | 32 ~WebstoreStartupInstaller() override; |
| 33 | 33 |
| 34 // Implementations of WebstoreStandaloneInstaller Template Method's hooks. | 34 // Implementations of WebstoreStandaloneInstaller Template Method's hooks. |
| 35 scoped_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt() | 35 std::unique_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt() |
| 36 const override; | 36 const override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 bool show_prompt_; | 39 bool show_prompt_; |
| 40 | 40 |
| 41 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); | 41 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace extensions | 44 } // namespace extensions |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ | 46 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ |
| OLD | NEW |