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

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

Issue 338353007: Implementation of shared worker code path for WebView file system permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_sharedworker
Patch Set: Small changes are made. Created 6 years, 5 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 | « 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 "android_webview/browser/aw_web_preferences_populater.h" 8 #include "android_webview/browser/aw_web_preferences_populater.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int render_process_id, 72 int render_process_id,
73 int render_frame_id, 73 int render_frame_id,
74 net::CookieOptions* options) OVERRIDE; 74 net::CookieOptions* options) OVERRIDE;
75 virtual bool AllowWorkerDatabase( 75 virtual bool AllowWorkerDatabase(
76 const GURL& url, 76 const GURL& url,
77 const base::string16& name, 77 const base::string16& name,
78 const base::string16& display_name, 78 const base::string16& display_name,
79 unsigned long estimated_size, 79 unsigned long estimated_size,
80 content::ResourceContext* context, 80 content::ResourceContext* context,
81 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 81 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE;
82 virtual bool AllowWorkerFileSystem( 82 virtual void AllowWorkerFileSystem(
83 const GURL& url, 83 const GURL& url,
84 content::ResourceContext* context, 84 content::ResourceContext* context,
85 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 85 const std::vector<std::pair<int, int> >& render_frames,
86 base::Callback<void(bool)> callback) OVERRIDE;
86 virtual bool AllowWorkerIndexedDB( 87 virtual bool AllowWorkerIndexedDB(
87 const GURL& url, 88 const GURL& url,
88 const base::string16& name, 89 const base::string16& name,
89 content::ResourceContext* context, 90 content::ResourceContext* context,
90 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 91 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE;
91 virtual content::QuotaPermissionContext* 92 virtual content::QuotaPermissionContext*
92 CreateQuotaPermissionContext() OVERRIDE; 93 CreateQuotaPermissionContext() OVERRIDE;
93 virtual void AllowCertificateError( 94 virtual void AllowCertificateError(
94 int render_process_id, 95 int render_process_id,
95 int render_frame_id, 96 int render_frame_id,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 188 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
188 189
189 JniDependencyFactory* native_factory_; 190 JniDependencyFactory* native_factory_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 192 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
192 }; 193 };
193 194
194 } // namespace android_webview 195 } // namespace android_webview
195 196
196 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 197 #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