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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 10993078: Use extensions socket permission for TCP/UDP socket APIs in Pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Android build Created 8 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('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 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "content/public/browser/content_browser_client.h" 8 #include "content/public/browser/content_browser_client.h"
9 9
10 #include "android_webview/browser/aw_browser_context.h" 10 #include "android_webview/browser/aw_browser_context.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, 108 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh,
109 const std::string& key, 109 const std::string& key,
110 const std::string& value) OVERRIDE; 110 const std::string& value) OVERRIDE;
111 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE; 111 virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE;
112 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; 112 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
113 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; 113 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE;
114 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 114 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
115 virtual std::string GetDefaultDownloadName() OVERRIDE; 115 virtual std::string GetDefaultDownloadName() OVERRIDE;
116 virtual void DidCreatePpapiPlugin( 116 virtual void DidCreatePpapiPlugin(
117 content::BrowserPpapiHost* browser_host) OVERRIDE; 117 content::BrowserPpapiHost* browser_host) OVERRIDE;
118 virtual bool AllowPepperSocketAPI(content::BrowserContext* browser_context, 118 virtual bool AllowPepperSocketAPI(
119 const GURL& url) OVERRIDE; 119 content::BrowserContext* browser_context,
120 const GURL& url,
121 const content::SocketPermissionRequest& params) OVERRIDE;
120 private: 122 private:
121 // Android WebView currently has a single global (non-off-the-record) browser 123 // Android WebView currently has a single global (non-off-the-record) browser
122 // context. 124 // context.
123 scoped_ptr<AwBrowserContext> browser_context_; 125 scoped_ptr<AwBrowserContext> browser_context_;
124 126
125 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 127 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
126 }; 128 };
127 129
128 } // namespace android_webview 130 } // namespace android_webview
129 131
130 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 132 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698