Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: chrome/test/media_router/media_router_base_browsertest.h

Issue 1415333002: [Media Router] Add experiment control logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "chrome/browser/extensions/extension_apitest.h" 13 #include "chrome/browser/extensions/extension_apitest.h"
14 #include "extensions/browser/process_manager_observer.h" 14 #include "extensions/browser/process_manager_observer.h"
15 #include "extensions/common/feature_switch.h"
15 16
16 namespace media_router { 17 namespace media_router {
17 18
18 class MediaRouter; 19 class MediaRouter;
19 20
20 /** 21 /**
21 * Base class for media router browser test. 22 * Base class for media router browser test.
22 * 23 *
23 * It provides the basic functions for integration and e2e browser tests, 24 * It provides the basic functions for integration and e2e browser tests,
24 * including install unpacked or packed extension at beginning of the test, 25 * including install unpacked or packed extension at beginning of the test,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 // These values are initialized via flags. 70 // These values are initialized via flags.
70 base::FilePath extension_crx_; 71 base::FilePath extension_crx_;
71 base::FilePath extension_unpacked_; 72 base::FilePath extension_unpacked_;
72 73
73 base::WaitableEvent extension_load_event_; 74 base::WaitableEvent extension_load_event_;
74 std::string extension_id_; 75 std::string extension_id_;
75 bool extension_host_created_; 76 bool extension_host_created_;
76 77
77 private: 78 private:
79 extensions::FeatureSwitch::ScopedOverride feature_override_;
78 DISALLOW_COPY_AND_ASSIGN(MediaRouterBaseBrowserTest); 80 DISALLOW_COPY_AND_ASSIGN(MediaRouterBaseBrowserTest);
79 }; 81 };
80 82
81 } // namespace media_router 83 } // namespace media_router
82 84
83 #endif // CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_ 85 #endif // CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_BASE_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/media_router/media_router_base_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698