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

Side by Side Diff: content/worker/shared_worker_permission_client_proxy.h

Issue 290573010: Clean up in browser side of allowFileSystem. [chromium] (4/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@asyn_codereview
Patch Set: rebase Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_ 5 #ifndef CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
6 #define CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_ 6 #define CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "third_party/WebKit/public/web/WebWorkerPermissionClientProxy.h" 10 #include "third_party/WebKit/public/web/WebWorkerPermissionClientProxy.h"
(...skipping 12 matching lines...) Expand all
23 const GURL& origin_url, 23 const GURL& origin_url,
24 bool is_unique_origin, 24 bool is_unique_origin,
25 int routing_id, 25 int routing_id,
26 ThreadSafeSender* thread_safe_sender); 26 ThreadSafeSender* thread_safe_sender);
27 virtual ~SharedWorkerPermissionClientProxy(); 27 virtual ~SharedWorkerPermissionClientProxy();
28 28
29 // WebWorkerPermissionClientProxy overrides. 29 // WebWorkerPermissionClientProxy overrides.
30 virtual bool allowDatabase(const blink::WebString& name, 30 virtual bool allowDatabase(const blink::WebString& name,
31 const blink::WebString& display_name, 31 const blink::WebString& display_name,
32 unsigned long estimated_size); 32 unsigned long estimated_size);
33 virtual bool allowFileSystem();
34 virtual bool requestFileSystemAccessSync(); 33 virtual bool requestFileSystemAccessSync();
35 virtual bool allowIndexedDB(const blink::WebString& name); 34 virtual bool allowIndexedDB(const blink::WebString& name);
36 35
37 private: 36 private:
38 const GURL origin_url_; 37 const GURL origin_url_;
39 const bool is_unique_origin_; 38 const bool is_unique_origin_;
40 const int routing_id_; 39 const int routing_id_;
41 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 40 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(SharedWorkerPermissionClientProxy); 42 DISALLOW_COPY_AND_ASSIGN(SharedWorkerPermissionClientProxy);
44 }; 43 };
45 44
46 } // namespace content 45 } // namespace content
47 46
48 #endif // CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_ 47 #endif // CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/renderer/worker_permission_client_proxy.cc ('k') | content/worker/shared_worker_permission_client_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698