Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSION_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 130 const content::NotificationDetails& details) OVERRIDE; | 130 const content::NotificationDetails& details) OVERRIDE; |
| 131 | 131 |
| 132 bool loaded_; | 132 bool loaded_; |
| 133 bool installed_; | 133 bool installed_; |
| 134 | 134 |
| 135 // test_data/extensions. | 135 // test_data/extensions. |
| 136 FilePath test_data_dir_; | 136 FilePath test_data_dir_; |
| 137 std::string last_loaded_extension_id_; | 137 std::string last_loaded_extension_id_; |
| 138 int extension_installs_observed_; | 138 int extension_installs_observed_; |
| 139 | 139 |
| 140 private: | 140 protected: |
|
jochen (gone - plz use gerrit)
2012/01/09 10:51:23
why is this needed?
marja
2012/01/09 11:04:32
It allows BrowserInitTest::StartupURLsForTwoProfil
| |
| 141 // Temporary directory for testing. | 141 // Temporary directory for testing. |
| 142 ScopedTempDir temp_dir_; | 142 ScopedTempDir temp_dir_; |
| 143 | 143 |
| 144 private: | |
| 144 // Specifies the type of UI (if any) to show during installation and what | 145 // Specifies the type of UI (if any) to show during installation and what |
| 145 // user action to simulate. | 146 // user action to simulate. |
| 146 enum InstallUIType { | 147 enum InstallUIType { |
| 147 INSTALL_UI_TYPE_NONE, | 148 INSTALL_UI_TYPE_NONE, |
| 148 INSTALL_UI_TYPE_CANCEL, | 149 INSTALL_UI_TYPE_CANCEL, |
| 149 INSTALL_UI_TYPE_NORMAL, | 150 INSTALL_UI_TYPE_NORMAL, |
| 150 INSTALL_UI_TYPE_AUTO_CONFIRM, | 151 INSTALL_UI_TYPE_AUTO_CONFIRM, |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 const Extension* InstallOrUpdateExtension(const std::string& id, | 154 const Extension* InstallOrUpdateExtension(const std::string& id, |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 166 // When waiting for page action count to change, we wait until it reaches this | 167 // When waiting for page action count to change, we wait until it reaches this |
| 167 // value. | 168 // value. |
| 168 int target_page_action_count_; | 169 int target_page_action_count_; |
| 169 | 170 |
| 170 // When waiting for visible page action count to change, we wait until it | 171 // When waiting for visible page action count to change, we wait until it |
| 171 // reaches this value. | 172 // reaches this value. |
| 172 int target_visible_page_action_count_; | 173 int target_visible_page_action_count_; |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 176 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
| OLD | NEW |