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

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

Issue 1646853002: Add embedder api for participating in gpu logic (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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 ContentRendererClient* SetRendererClientForTesting(ContentRendererClient* r) { 56 ContentRendererClient* SetRendererClientForTesting(ContentRendererClient* r) {
57 return InternalTestInitializer::SetRenderer(r); 57 return InternalTestInitializer::SetRenderer(r);
58 } 58 }
59 59
60 ContentUtilityClient* SetUtilityClientForTesting(ContentUtilityClient* u) { 60 ContentUtilityClient* SetUtilityClientForTesting(ContentUtilityClient* u) {
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),
66 } 66 gpu_(NULL),
67 plugin_(NULL),
68 renderer_(NULL),
69 utility_(NULL) {}
67 70
68 ContentClient::~ContentClient() { 71 ContentClient::~ContentClient() {
69 } 72 }
70 73
71 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { 74 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
72 return false; 75 return false;
73 } 76 }
74 77
75 std::string ContentClient::GetProduct() const { 78 std::string ContentClient::GetProduct() const {
76 return std::string(); 79 return std::string();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int* sandbox_profile_resource_id) const { 114 int* sandbox_profile_resource_id) const {
112 return false; 115 return false;
113 } 116 }
114 #endif 117 #endif
115 118
116 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
117 return false; 120 return false;
118 } 121 }
119 122
120 } // namespace content 123 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698