| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INSTALLER_TEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| 11 #include "chrome/browser/extensions/extension_browsertest.h" | 11 #include "chrome/browser/extensions/extension_browsertest.h" |
| 12 #include "extensions/browser/extension_dialog_auto_confirm.h" |
| 12 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class CommandLine; | 16 class CommandLine; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace contents { | 19 namespace contents { |
| 19 class WebContents; | 20 class WebContents; |
| 20 } | 21 } |
| 21 | 22 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void AutoCancelInstall(); | 62 void AutoCancelInstall(); |
| 62 | 63 |
| 63 std::string webstore_domain_; | 64 std::string webstore_domain_; |
| 64 std::string test_data_path_; | 65 std::string test_data_path_; |
| 65 std::string crx_filename_; | 66 std::string crx_filename_; |
| 66 std::string verified_domain_; | 67 std::string verified_domain_; |
| 67 std::string unverified_domain_; | 68 std::string unverified_domain_; |
| 68 std::string test_gallery_url_; | 69 std::string test_gallery_url_; |
| 69 | 70 |
| 70 base::ScopedTempDir download_directory_; | 71 base::ScopedTempDir download_directory_; |
| 72 |
| 73 scoped_ptr<extensions::ScopedExtensionDialogAutoConfirm> |
| 74 install_auto_confirm_; |
| 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(WebstoreInstallerTest); |
| 71 }; | 77 }; |
| 72 | 78 |
| 73 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ | 79 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ |
| OLD | NEW |