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

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

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/common/origin_util.h" 10 #include "content/public/common/origin_util.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return InternalTestInitializer::SetUtility(u); 61 return InternalTestInitializer::SetUtility(u);
62 } 62 }
63 63
64 ContentClient::ContentClient() 64 ContentClient::ContentClient()
65 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) { 65 : browser_(NULL), plugin_(NULL), renderer_(NULL), utility_(NULL) {
66 } 66 }
67 67
68 ContentClient::~ContentClient() { 68 ContentClient::~ContentClient() {
69 } 69 }
70 70
71 void ContentClient::SetActiveURL(const std::string& url) {
72 SetActiveURL(GURL(url));
73 }
74
71 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { 75 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
72 return false; 76 return false;
73 } 77 }
74 78
75 std::string ContentClient::GetProduct() const { 79 std::string ContentClient::GetProduct() const {
76 return std::string(); 80 return std::string();
77 } 81 }
78 82
79 std::string ContentClient::GetUserAgent() const { 83 std::string ContentClient::GetUserAgent() const {
80 return std::string(); 84 return std::string();
(...skipping 30 matching lines...) Expand all
111 int* sandbox_profile_resource_id) const { 115 int* sandbox_profile_resource_id) const {
112 return false; 116 return false;
113 } 117 }
114 #endif 118 #endif
115 119
116 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 120 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
117 return false; 121 return false;
118 } 122 }
119 123
120 } // namespace content 124 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698