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

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: Remove unnecessary include from gpu_command_buffer_stub 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ContentClient::ContentClient() 64 ContentClient::ContentClient()
65 : browser_(NULL), 65 : browser_(NULL),
66 gpu_(NULL), 66 gpu_(NULL),
67 plugin_(NULL), 67 plugin_(NULL),
68 renderer_(NULL), 68 renderer_(NULL),
69 utility_(NULL) {} 69 utility_(NULL) {}
70 70
71 ContentClient::~ContentClient() { 71 ContentClient::~ContentClient() {
72 } 72 }
73 73
74 void ContentClient::SetActiveURL(const std::string& url) {
75 SetActiveURL(GURL(url));
76 }
77
74 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { 78 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
75 return false; 79 return false;
76 } 80 }
77 81
78 std::string ContentClient::GetProduct() const { 82 std::string ContentClient::GetProduct() const {
79 return std::string(); 83 return std::string();
80 } 84 }
81 85
82 std::string ContentClient::GetUserAgent() const { 86 std::string ContentClient::GetUserAgent() const {
83 return std::string(); 87 return std::string();
(...skipping 30 matching lines...) Expand all
114 int* sandbox_profile_resource_id) const { 118 int* sandbox_profile_resource_id) const {
115 return false; 119 return false;
116 } 120 }
117 #endif 121 #endif
118 122
119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 123 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
120 return false; 124 return false;
121 } 125 }
122 126
123 } // namespace content 127 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | content/renderer/pepper/pepper_video_encoder_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698