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

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

Issue 9950040: Get chrome:// dev tool urls hooked up in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/test_content_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "content/test/test_content_client.h" 5 #include "content/test/test_content_client.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 void TestContentClient::AddPepperPlugins( 30 void TestContentClient::AddPepperPlugins(
31 std::vector<content::PepperPluginInfo>* plugins) { 31 std::vector<content::PepperPluginInfo>* plugins) {
32 } 32 }
33 33
34 void TestContentClient::AddNPAPIPlugins( 34 void TestContentClient::AddNPAPIPlugins(
35 webkit::npapi::PluginList* plugin_list) { 35 webkit::npapi::PluginList* plugin_list) {
36 } 36 }
37 37
38 void TestContentClient::AddAdditionalSchemes(
39 std::vector<std::string>* standard_schemes,
40 std::vector<std::string>* savable_schemes) {
41 }
42
38 bool TestContentClient::HasWebUIScheme(const GURL& url) const { 43 bool TestContentClient::HasWebUIScheme(const GURL& url) const {
39 return false; 44 return false;
40 } 45 }
41 46
42 bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { 47 bool TestContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
43 // TestContentClient does not need to handle any additional messages. 48 // TestContentClient does not need to handle any additional messages.
44 return false; 49 return false;
45 } 50 }
46 51
47 std::string TestContentClient::GetUserAgent() const { 52 std::string TestContentClient::GetUserAgent() const {
(...skipping 17 matching lines...) Expand all
65 } 70 }
66 #endif 71 #endif
67 72
68 #if defined(OS_MACOSX) 73 #if defined(OS_MACOSX)
69 bool TestContentClient::GetSandboxProfileForSandboxType( 74 bool TestContentClient::GetSandboxProfileForSandboxType(
70 int sandbox_type, 75 int sandbox_type,
71 int* sandbox_profile_resource_id) const { 76 int* sandbox_profile_resource_id) const {
72 return false; 77 return false;
73 } 78 }
74 #endif 79 #endif
OLDNEW
« no previous file with comments | « content/test/test_content_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698