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

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: Initial patch Created 6 years, 6 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 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int render_process_id, 74 int render_process_id,
75 int render_frame_id, 75 int render_frame_id,
76 net::CookieOptions* options) OVERRIDE; 76 net::CookieOptions* options) OVERRIDE;
77 virtual bool AllowWorkerDatabase( 77 virtual bool AllowWorkerDatabase(
78 const GURL& url, 78 const GURL& url,
79 const base::string16& name, 79 const base::string16& name,
80 const base::string16& display_name, 80 const base::string16& display_name,
81 unsigned long estimated_size, 81 unsigned long estimated_size,
82 content::ResourceContext* context, 82 content::ResourceContext* context,
83 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 83 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE;
84 virtual bool AllowWorkerFileSystem( 84 virtual void RequestFileSystemAccessSync(
boliu 2014/06/19 15:57:35 Weird name? It appears the callback allows this to
Xi Han 2014/06/19 16:37:46 The name comes from the webview guest, when a webv
85 const GURL& url, 85 const GURL& url,
86 content::ResourceContext* context, 86 content::ResourceContext* context,
87 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 87 const std::vector<std::pair<int, int> >& render_frames,
88 base::Callback<void(bool)> callback) OVERRIDE;
88 virtual bool AllowWorkerIndexedDB( 89 virtual bool AllowWorkerIndexedDB(
89 const GURL& url, 90 const GURL& url,
90 const base::string16& name, 91 const base::string16& name,
91 content::ResourceContext* context, 92 content::ResourceContext* context,
92 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE; 93 const std::vector<std::pair<int, int> >& render_frames) OVERRIDE;
93 virtual content::QuotaPermissionContext* 94 virtual content::QuotaPermissionContext*
94 CreateQuotaPermissionContext() OVERRIDE; 95 CreateQuotaPermissionContext() OVERRIDE;
95 virtual void AllowCertificateError( 96 virtual void AllowCertificateError(
96 int render_process_id, 97 int render_process_id,
97 int render_frame_id, 98 int render_frame_id,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; 190 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_;
190 191
191 JniDependencyFactory* native_factory_; 192 JniDependencyFactory* native_factory_;
192 193
193 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 194 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
194 }; 195 };
195 196
196 } // namespace android_webview 197 } // namespace android_webview
197 198
198 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 199 #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') | content/public/browser/content_browser_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698