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_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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 const FilePath& path, | 161 const FilePath& path, |
162 InstallUIType ui_type, | 162 InstallUIType ui_type, |
163 int expected_change); | 163 int expected_change); |
164 const Extension* InstallOrUpdateExtension(const std::string& id, | 164 const Extension* InstallOrUpdateExtension(const std::string& id, |
165 const FilePath& path, | 165 const FilePath& path, |
166 InstallUIType ui_type, | 166 InstallUIType ui_type, |
167 int expected_change, | 167 int expected_change, |
168 Profile* profile, | 168 Profile* profile, |
169 bool from_webstore); | 169 bool from_webstore); |
170 | 170 |
171 bool WaitForExtensionHostsToLoad(); | 171 bool WaitForExtensionViewsToLoad(); |
172 | 172 |
173 // When waiting for page action count to change, we wait until it reaches this | 173 // When waiting for page action count to change, we wait until it reaches this |
174 // value. | 174 // value. |
175 int target_page_action_count_; | 175 int target_page_action_count_; |
176 | 176 |
177 // When waiting for visible page action count to change, we wait until it | 177 // When waiting for visible page action count to change, we wait until it |
178 // reaches this value. | 178 // reaches this value. |
179 int target_visible_page_action_count_; | 179 int target_visible_page_action_count_; |
180 }; | 180 }; |
181 | 181 |
182 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 182 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
OLD | NEW |