| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |