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

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

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace base { 14 namespace base {
15 class CommandLine; 15 class CommandLine;
16 } // namespace base 16 } // namespace base
17 17
18 class WebstoreInstallerTest : public ExtensionBrowserTest { 18 class WebstoreInstallerTest : public ExtensionBrowserTest {
19 public: 19 public:
20 WebstoreInstallerTest(const std::string& webstore_domain, 20 WebstoreInstallerTest(const std::string& webstore_domain,
21 const std::string& test_data_path, 21 const std::string& test_data_path,
22 const std::string& crx_filename, 22 const std::string& crx_filename,
23 const std::string& verified_domain, 23 const std::string& verified_domain,
24 const std::string& unverified_domain); 24 const std::string& unverified_domain);
25 virtual ~WebstoreInstallerTest(); 25 virtual ~WebstoreInstallerTest();
26 26
27 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; 27 virtual void SetUpCommandLine(base::CommandLine* command_line) override;
28 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE; 28 virtual void SetUpInProcessBrowserTestFixture() override;
29 virtual void SetUpOnMainThread() OVERRIDE; 29 virtual void SetUpOnMainThread() override;
30 30
31 protected: 31 protected:
32 GURL GenerateTestServerUrl(const std::string& domain, 32 GURL GenerateTestServerUrl(const std::string& domain,
33 const std::string& page_filename); 33 const std::string& page_filename);
34 34
35 void RunTest(const std::string& test_function_name); 35 void RunTest(const std::string& test_function_name);
36 36
37 // Passes |i| to |test_function_name|, and expects that function to 37 // Passes |i| to |test_function_name|, and expects that function to
38 // return one of "FAILED", "KEEPGOING" or "DONE". KEEPGOING should be 38 // return one of "FAILED", "KEEPGOING" or "DONE". KEEPGOING should be
39 // returned if more tests remain to be run and the current test succeeded, 39 // returned if more tests remain to be run and the current test succeeded,
(...skipping 17 matching lines...) Expand all
57 std::string test_data_path_; 57 std::string test_data_path_;
58 std::string crx_filename_; 58 std::string crx_filename_;
59 std::string verified_domain_; 59 std::string verified_domain_;
60 std::string unverified_domain_; 60 std::string unverified_domain_;
61 std::string test_gallery_url_; 61 std::string test_gallery_url_;
62 62
63 base::ScopedTempDir download_directory_; 63 base::ScopedTempDir download_directory_;
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_ 66 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | chrome/browser/extensions/webstore_reinstaller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698