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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused histogram names Created 6 years, 11 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 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <set>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #if defined(ENABLE_PLUGINS)
12 #include <set>
13 #endif
14
15 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
16 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
17 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
18 #include "content/public/renderer/content_renderer_client.h" 15 #include "content/public/renderer/content_renderer_client.h"
19 16
20 class ChromeRenderProcessObserver; 17 class ChromeRenderProcessObserver;
21 class PrescientNetworkingDispatcher; 18 class PrescientNetworkingDispatcher;
22 class RendererNetPredictor; 19 class RendererNetPredictor;
23 class SearchBouncer; 20 class SearchBouncer;
24 #if defined(ENABLE_SPELLCHECK) 21 #if defined(ENABLE_SPELLCHECK)
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Called in low-memory conditions to dump the memory used by the spellchecker 145 // Called in low-memory conditions to dump the memory used by the spellchecker
149 // and start over. 146 // and start over.
150 void OnPurgeMemory(); 147 void OnPurgeMemory();
151 148
152 static blink::WebPlugin* CreatePlugin( 149 static blink::WebPlugin* CreatePlugin(
153 content::RenderFrame* render_frame, 150 content::RenderFrame* render_frame,
154 blink::WebFrame* frame, 151 blink::WebFrame* frame,
155 const blink::WebPluginParams& params, 152 const blink::WebPluginParams& params,
156 const ChromeViewHostMsg_GetPluginInfo_Output& output); 153 const ChromeViewHostMsg_GetPluginInfo_Output& output);
157 154
155 static bool IsExtensionOrSharedModuleWhitelisted(
156 const GURL& url, const std::set<std::string>& whitelist);
157
158 // TODO(mpcomplete): remove after we collect histogram data. 158 // TODO(mpcomplete): remove after we collect histogram data.
159 // http://crbug.com/100411 159 // http://crbug.com/100411
160 static bool IsAdblockInstalled(); 160 static bool IsAdblockInstalled();
161 static bool IsAdblockPlusInstalled(); 161 static bool IsAdblockPlusInstalled();
162 static bool IsAdblockWithWebRequestInstalled(); 162 static bool IsAdblockWithWebRequestInstalled();
163 static bool IsAdblockPlusWithWebRequestInstalled(); 163 static bool IsAdblockPlusWithWebRequestInstalled();
164 static bool IsOtherExtensionWithWebRequestInstalled(); 164 static bool IsOtherExtensionWithWebRequestInstalled();
165 165
166 private: 166 private:
167 FRIEND_TEST_ALL_PREFIXES(ChromeContentRendererClientTest, NaClRestriction); 167 FRIEND_TEST_ALL_PREFIXES(ChromeContentRendererClientTest, NaClRestriction);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 204 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
205 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 205 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
206 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 206 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
207 #if defined(ENABLE_WEBRTC) 207 #if defined(ENABLE_WEBRTC)
208 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 208 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
209 #endif 209 #endif
210 scoped_ptr<SearchBouncer> search_bouncer_; 210 scoped_ptr<SearchBouncer> search_bouncer_;
211 }; 211 };
212 212
213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698