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

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

Issue 1014543003: Add an IPC method for Blink to call RapporService::RecordSample() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeRenderMessageFilter, and add a URL version for bug 467648 Created 5 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
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 <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 blink::WebFrame* frame) override; 140 blink::WebFrame* frame) override;
141 bool AllowPepperMediaStreamAPI(const GURL& url) override; 141 bool AllowPepperMediaStreamAPI(const GURL& url) override;
142 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; 142 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override;
143 bool IsPluginAllowedToUseDevChannelAPIs() override; 143 bool IsPluginAllowedToUseDevChannelAPIs() override;
144 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; 144 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;
145 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 145 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
146 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 146 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
147 content::RenderFrame* render_frame, 147 content::RenderFrame* render_frame,
148 const std::string& mime_type, 148 const std::string& mime_type,
149 const GURL& original_url) override; 149 const GURL& original_url) override;
150 150
jam 2015/04/07 20:57:44 nit: no blank line
kojii 2015/04/08 07:21:22 Done.
151 void RecordRappor(const std::string& metric,
152 const std::string& sample) override;
153 void RecordRapporURL(const std::string& metric, const GURL& url) override;
154
151 #if defined(ENABLE_EXTENSIONS) 155 #if defined(ENABLE_EXTENSIONS)
152 // Takes ownership. 156 // Takes ownership.
153 void SetExtensionDispatcherForTest( 157 void SetExtensionDispatcherForTest(
154 extensions::Dispatcher* extension_dispatcher); 158 extensions::Dispatcher* extension_dispatcher);
155 extensions::Dispatcher* GetExtensionDispatcherForTest(); 159 extensions::Dispatcher* GetExtensionDispatcherForTest();
156 #endif 160 #endif
157 161
158 #if defined(ENABLE_SPELLCHECK) 162 #if defined(ENABLE_SPELLCHECK)
159 // Sets a new |spellcheck|. Used for testing only. 163 // Sets a new |spellcheck|. Used for testing only.
160 // Takes ownership of |spellcheck|. 164 // Takes ownership of |spellcheck|.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 #if defined(ENABLE_PRINT_PREVIEW) 240 #if defined(ENABLE_PRINT_PREVIEW)
237 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
238 #endif 242 #endif
239 #if defined(ENABLE_PLUGINS) 243 #if defined(ENABLE_PLUGINS)
240 std::set<std::string> allowed_camera_device_origins_; 244 std::set<std::string> allowed_camera_device_origins_;
241 std::set<std::string> allowed_compositor_origins_; 245 std::set<std::string> allowed_compositor_origins_;
242 #endif 246 #endif
243 }; 247 };
244 248
245 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698