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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 #if defined(OS_CHROMEOS) | 319 #if defined(OS_CHROMEOS) |
320 // True if the command line should be tweaked as if ChromeOS user is | 320 // True if the command line should be tweaked as if ChromeOS user is |
321 // already logged in. | 321 // already logged in. |
322 bool set_chromeos_user_; | 322 bool set_chromeos_user_; |
323 #endif | 323 #endif |
324 | 324 |
325 // test_data/extensions. | 325 // test_data/extensions. |
326 base::FilePath test_data_dir_; | 326 base::FilePath test_data_dir_; |
327 | 327 |
328 std::unique_ptr<ChromeExtensionTestNotificationObserver> observer_; | 328 std::unique_ptr<extensions::ChromeExtensionTestNotificationObserver> |
| 329 observer_; |
329 | 330 |
330 private: | 331 private: |
331 // Temporary directory for testing. | 332 // Temporary directory for testing. |
332 base::ScopedTempDir temp_dir_; | 333 base::ScopedTempDir temp_dir_; |
333 | 334 |
334 // Specifies the type of UI (if any) to show during installation and what | 335 // Specifies the type of UI (if any) to show during installation and what |
335 // user action to simulate. | 336 // user action to simulate. |
336 enum InstallUIType { | 337 enum InstallUIType { |
337 INSTALL_UI_TYPE_NONE, | 338 INSTALL_UI_TYPE_NONE, |
338 INSTALL_UI_TYPE_CANCEL, | 339 INSTALL_UI_TYPE_CANCEL, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 #endif | 387 #endif |
387 | 388 |
388 // The default profile to be used. | 389 // The default profile to be used. |
389 Profile* profile_; | 390 Profile* profile_; |
390 | 391 |
391 // Cache cache implementation. | 392 // Cache cache implementation. |
392 std::unique_ptr<extensions::ExtensionCacheFake> test_extension_cache_; | 393 std::unique_ptr<extensions::ExtensionCacheFake> test_extension_cache_; |
393 }; | 394 }; |
394 | 395 |
395 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ | 396 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ |
OLD | NEW |