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

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

Issue 1856963002: Remove content/public/plugin and chrome/plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_03_content_child_npapi
Patch Set: rebase Created 4 years, 8 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') | content/public/plugin/BUILD.gn » ('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/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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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), 65 : browser_(NULL),
66 gpu_(NULL), 66 gpu_(NULL),
67 plugin_(NULL),
68 renderer_(NULL), 67 renderer_(NULL),
69 utility_(NULL) {} 68 utility_(NULL) {}
70 69
71 ContentClient::~ContentClient() { 70 ContentClient::~ContentClient() {
72 } 71 }
73 72
74 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) { 73 bool ContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
75 return false; 74 return false;
76 } 75 }
77 76
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 117
119 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() { 118 bool ContentClient::IsSupplementarySiteIsolationModeEnabled() {
120 return false; 119 return false;
121 } 120 }
122 121
123 base::StringPiece ContentClient::GetOriginTrialPublicKey() { 122 base::StringPiece ContentClient::GetOriginTrialPublicKey() {
124 return base::StringPiece(); 123 return base::StringPiece();
125 } 124 }
126 125
127 } // namespace content 126 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/plugin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698