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

Side by Side Diff: content/test/webui_resource_browsertest.cc

Issue 220253002: Add net/base/filename_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « content/test/net/url_request_mock_http_job.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
9 #include "content/public/common/content_paths.h" 9 #include "content/public/common/content_paths.h"
10 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
11 #include "content/public/test/content_browser_test.h" 11 #include "content/public/test/content_browser_test.h"
12 #include "content/public/test/content_browser_test_utils.h" 12 #include "content/public/test/content_browser_test_utils.h"
13 #include "content/shell/browser/shell.h" 13 #include "content/shell/browser/shell.h"
14 #include "grit/content_resources.h" 14 #include "grit/content_resources.h"
15 #include "grit/webui_resources.h" 15 #include "grit/webui_resources.h"
16 #include "net/base/net_util.h" 16 #include "net/base/filename_util.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 class WebUIResourceBrowserTest : public ContentBrowserTest { 20 class WebUIResourceBrowserTest : public ContentBrowserTest {
21 public: 21 public:
22 WebUIResourceBrowserTest() {} 22 WebUIResourceBrowserTest() {}
23 virtual ~WebUIResourceBrowserTest() {} 23 virtual ~WebUIResourceBrowserTest() {}
24 24
25 // Runs all test functions in |file|, waiting for them to complete. 25 // Runs all test functions in |file|, waiting for them to complete.
26 void RunTest(const base::FilePath& file) { 26 void RunTest(const base::FilePath& file) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MediaInternals_PlayerInfo) { 65 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MediaInternals_PlayerInfo) {
66 RunMediaInternalsTest(FILE_PATH_LITERAL("player_info_test.html")); 66 RunMediaInternalsTest(FILE_PATH_LITERAL("player_info_test.html"));
67 } 67 }
68 68
69 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MediaInternals_Manager) { 69 IN_PROC_BROWSER_TEST_F(WebUIResourceBrowserTest, MediaInternals_Manager) {
70 RunMediaInternalsTest(FILE_PATH_LITERAL("manager_test.html")); 70 RunMediaInternalsTest(FILE_PATH_LITERAL("manager_test.html"));
71 } 71 }
72 72
73 } // namespace content 73 } // namespace content
OLDNEW
« no previous file with comments | « content/test/net/url_request_mock_http_job.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698