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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed more comments. Created 7 years, 1 month 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 | Annotate | Revision Log
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_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 WebPreferences* prefs) OVERRIDE; 224 WebPreferences* prefs) OVERRIDE;
225 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, 225 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh,
226 const std::string& key, 226 const std::string& key,
227 const std::string& value) OVERRIDE; 227 const std::string& value) OVERRIDE;
228 virtual void BrowserURLHandlerCreated( 228 virtual void BrowserURLHandlerCreated(
229 content::BrowserURLHandler* handler) OVERRIDE; 229 content::BrowserURLHandler* handler) OVERRIDE;
230 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; 230 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
231 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; 231 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE;
232 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; 232 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE;
233 virtual std::string GetDefaultDownloadName() OVERRIDE; 233 virtual std::string GetDefaultDownloadName() OVERRIDE;
234 virtual std::string GetMediaDeviceIDSalt(
235 content::ResourceContext* rc) OVERRIDE;
234 virtual void DidCreatePpapiPlugin( 236 virtual void DidCreatePpapiPlugin(
235 content::BrowserPpapiHost* browser_host) OVERRIDE; 237 content::BrowserPpapiHost* browser_host) OVERRIDE;
236 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 238 virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
237 int plugin_process_id) OVERRIDE; 239 int plugin_process_id) OVERRIDE;
238 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, 240 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context,
239 const GURL& site_url) OVERRIDE; 241 const GURL& site_url) OVERRIDE;
240 virtual bool AllowPepperSocketAPI( 242 virtual bool AllowPepperSocketAPI(
241 content::BrowserContext* browser_context, 243 content::BrowserContext* browser_context,
242 const GURL& url, 244 const GURL& url,
243 bool private_api, 245 bool private_api,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #endif 283 #endif
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 284 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
283 permissions_policy_delegate_; 285 permissions_policy_delegate_;
284 286
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 287 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
286 }; 288 };
287 289
288 } // namespace chrome 290 } // namespace chrome
289 291
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 292 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698