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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 290 |
291 // Returns | 291 // Returns |
292 // extensions::browsertest_util::ExecuteScriptInBackgroundPageNoWait( | 292 // extensions::browsertest_util::ExecuteScriptInBackgroundPageNoWait( |
293 // profile(), extension_id, script). | 293 // profile(), extension_id, script). |
294 bool ExecuteScriptInBackgroundPageNoWait(const std::string& extension_id, | 294 bool ExecuteScriptInBackgroundPageNoWait(const std::string& extension_id, |
295 const std::string& script); | 295 const std::string& script); |
296 | 296 |
297 bool loaded_; | 297 bool loaded_; |
298 bool installed_; | 298 bool installed_; |
299 | 299 |
300 #if defined(OS_CHROMEOS) | |
301 // True if the command line should be tweaked as if ChromeOS user is | |
302 // already logged in. | |
303 bool set_chromeos_user_; | |
304 #endif | |
305 | |
306 // test_data/extensions. | 300 // test_data/extensions. |
307 base::FilePath test_data_dir_; | 301 base::FilePath test_data_dir_; |
308 | 302 |
309 scoped_ptr<ExtensionTestNotificationObserver> observer_; | 303 scoped_ptr<ExtensionTestNotificationObserver> observer_; |
310 | 304 |
311 private: | 305 private: |
312 // Temporary directory for testing. | 306 // Temporary directory for testing. |
313 base::ScopedTempDir temp_dir_; | 307 base::ScopedTempDir temp_dir_; |
314 | 308 |
315 // Specifies the type of UI (if any) to show during installation and what | 309 // Specifies the type of UI (if any) to show during installation and what |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 override_prompt_for_external_extensions_; | 351 override_prompt_for_external_extensions_; |
358 | 352 |
359 // The default profile to be used. | 353 // The default profile to be used. |
360 Profile* profile_; | 354 Profile* profile_; |
361 | 355 |
362 // Cache cache implementation. | 356 // Cache cache implementation. |
363 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_; | 357 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_; |
364 }; | 358 }; |
365 | 359 |
366 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 360 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
OLD | NEW |