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

Side by Side Diff: content/browser/shared_worker/shared_worker_service_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void WorkerConnected(int message_port_id, 68 void WorkerConnected(int message_port_id,
69 int worker_route_id, 69 int worker_route_id,
70 SharedWorkerMessageFilter* filter); 70 SharedWorkerMessageFilter* filter);
71 void AllowDatabase(int worker_route_id, 71 void AllowDatabase(int worker_route_id,
72 const GURL& url, 72 const GURL& url,
73 const base::string16& name, 73 const base::string16& name,
74 const base::string16& display_name, 74 const base::string16& display_name,
75 unsigned long estimated_size, 75 unsigned long estimated_size,
76 bool* result, 76 bool* result,
77 SharedWorkerMessageFilter* filter); 77 SharedWorkerMessageFilter* filter);
78 void AllowFileSystem(int worker_route_id, 78 void RequestFileSystemAccessSync(int worker_route_id,
79 const GURL& url, 79 const GURL& url,
80 bool* result, 80 IPC::Message* reply_msg,
81 SharedWorkerMessageFilter* filter); 81 SharedWorkerMessageFilter* filter);
82 void AllowIndexedDB(int worker_route_id, 82 void AllowIndexedDB(int worker_route_id,
83 const GURL& url, 83 const GURL& url,
84 const base::string16& name, 84 const base::string16& name,
85 bool* result, 85 bool* result,
86 SharedWorkerMessageFilter* filter); 86 SharedWorkerMessageFilter* filter);
87 87
88 void OnSharedWorkerMessageFilterClosing( 88 void OnSharedWorkerMessageFilterClosing(
89 SharedWorkerMessageFilter* filter); 89 SharedWorkerMessageFilter* filter);
90 90
91 // Checks the worker dependency of renderer processes and calls 91 // Checks the worker dependency of renderer processes and calls
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 int next_pending_instance_id_; 167 int next_pending_instance_id_;
168 168
169 ObserverList<WorkerServiceObserver> observers_; 169 ObserverList<WorkerServiceObserver> observers_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); 171 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl);
172 }; 172 };
173 173
174 } // namespace content 174 } // namespace content
175 175
176 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ 176 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698