Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: chrome/browser/extensions/webstore_installer_test.h

Issue 1148323007: [Extensions] Introduce a ScopedExtensionDialogAutoConfirm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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::ScopedTestDialogAutoConfirm> install_auto_confirm_;
74
75 DISALLOW_COPY_AND_ASSIGN(WebstoreInstallerTest);
71 }; 76 };
72 77
73 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ 78 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698