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

Side by Side Diff: content/public/common/content_client.cc

Issue 10854251: Allow the creation of partially spoofed user agents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moving namespaces Created 8 years, 3 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
« no previous file with comments | « content/public/common/content_client.h ('k') | webkit/glue/user_agent.h » ('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 (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/public/common/content_client.h" 5 #include "content/public/common/content_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 #include "webkit/glue/webkit_glue.h" 10 #include "webkit/glue/webkit_glue.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 bool ContentClient::HasWebUIScheme(const GURL& url) const { 48 bool ContentClient::HasWebUIScheme(const GURL& url) const {
49 return false; 49 return false;
50 } 50 }
51 51
52 bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& message) { 52 bool ContentClient::CanHandleWhileSwappedOut(const IPC::Message& message) {
53 return false; 53 return false;
54 } 54 }
55 55
56 std::string ContentClient::GetProduct() const {
57 return std::string();
58 }
59
56 std::string ContentClient::GetUserAgent() const { 60 std::string ContentClient::GetUserAgent() const {
57 return std::string(); 61 return std::string();
58 } 62 }
59 63
60 string16 ContentClient::GetLocalizedString(int message_id) const { 64 string16 ContentClient::GetLocalizedString(int message_id) const {
61 return string16(); 65 return string16();
62 } 66 }
63 67
64 base::StringPiece ContentClient::GetDataResource( 68 base::StringPiece ContentClient::GetDataResource(
65 int resource_id, 69 int resource_id,
(...skipping 19 matching lines...) Expand all
85 int* sandbox_profile_resource_id) const { 89 int* sandbox_profile_resource_id) const {
86 return false; 90 return false;
87 } 91 }
88 92
89 std::string ContentClient::GetCarbonInterposePath() const { 93 std::string ContentClient::GetCarbonInterposePath() const {
90 return std::string(); 94 return std::string();
91 } 95 }
92 #endif 96 #endif
93 97
94 } // namespace content 98 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | webkit/glue/user_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698