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

Side by Side Diff: content/browser/media/media_browsertest.h

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: remove other files Created 6 years, 9 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_
6 #define CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_ 6 #define CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "content/test/content_browser_test.h" 11 #include "content/public/test/content_browser_test.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class TitleWatcher; 15 class TitleWatcher;
16 16
17 // Class used to automate running media related browser tests. The functions 17 // Class used to automate running media related browser tests. The functions
18 // assume that media files are located under files/media/ folder known to 18 // assume that media files are located under files/media/ folder known to
19 // the test http server. 19 // the test http server.
20 class MediaBrowserTest : public ContentBrowserTest { 20 class MediaBrowserTest : public ContentBrowserTest {
21 public: 21 public:
(...skipping 15 matching lines...) Expand all
37 // Opens a URL and waits for the document title to match either one of the 37 // Opens a URL and waits for the document title to match either one of the
38 // default strings or the expected string. 38 // default strings or the expected string.
39 void RunTest(const GURL& gurl, const char* expected); 39 void RunTest(const GURL& gurl, const char* expected);
40 40
41 virtual void AddWaitForTitles(content::TitleWatcher* title_watcher); 41 virtual void AddWaitForTitles(content::TitleWatcher* title_watcher);
42 }; 42 };
43 43
44 } // namespace content 44 } // namespace content
45 45
46 #endif // CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_ 46 #endif // CONTENT_BROWSER_MEDIA_MEDIA_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_browsertest.cc ('k') | content/browser/media/media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698