OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ | 5 #ifndef CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ |
6 #define CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ | 6 #define CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
14 #include "chrome/browser/extensions/extension_apitest.h" | 14 #include "chrome/browser/extensions/extension_apitest.h" |
15 #include "extensions/browser/process_manager_observer.h" | 15 #include "extensions/browser/process_manager_observer.h" |
16 | 16 |
17 namespace media_router { | 17 namespace media_router { |
18 | 18 |
19 class MediaRouter; | |
20 | |
21 /** | 19 /** |
22 * Base class for media router browser test. | 20 * Base class for media router browser test. |
23 * | 21 * |
24 * It provides the basic functions for integration and e2e browser tests, | 22 * It provides the basic functions for integration and e2e browser tests, |
25 * including install unpacked or packed extension at beginning of the test, | 23 * including install unpacked or packed extension at beginning of the test, |
26 * uninstall the extension at the end of the test. | 24 * uninstall the extension at the end of the test. |
27 * | 25 * |
28 * This class accepts two flags to specify the location of MR extension: | 26 * This class accepts two flags to specify the location of MR extension: |
29 * 1. "--extension-crx" flag to specify the packed extension location | 27 * 1. "--extension-crx" flag to specify the packed extension location |
30 * 2. "--extension-unpacked" flag to specify the unpacked extension location | 28 * 2. "--extension-unpacked" flag to specify the unpacked extension location |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 std::string extension_id_; | 75 std::string extension_id_; |
78 bool extension_host_created_; | 76 bool extension_host_created_; |
79 | 77 |
80 private: | 78 private: |
81 DISALLOW_COPY_AND_ASSIGN(MediaRouterBaseBrowserTest); | 79 DISALLOW_COPY_AND_ASSIGN(MediaRouterBaseBrowserTest); |
82 }; | 80 }; |
83 | 81 |
84 } // namespace media_router | 82 } // namespace media_router |
85 | 83 |
86 #endif // CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ | 84 #endif // CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ |
OLD | NEW |