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

Unified Diff: chrome/worker/webworker_stub_base.h

Issue 3394003: Add Worker support for FileSystem API. (Closed)
Patch Set: '' Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/worker/webworker_stub.cc ('k') | chrome/worker/webworkerclient_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/worker/webworker_stub_base.h
diff --git a/chrome/worker/webworker_stub_base.h b/chrome/worker/webworker_stub_base.h
index d3d44be121dfabf8d264fd5a6a566fd4460df7fb..2ab2ac787330da7077edd80a9a95b3dfd1079cc8 100644
--- a/chrome/worker/webworker_stub_base.h
+++ b/chrome/worker/webworker_stub_base.h
@@ -6,6 +6,7 @@
#define CHROME_WORKER_WEBWORKER_STUB_BASE_H_
#pragma once
+#include "base/scoped_ptr.h"
#include "chrome/worker/webworkerclient_proxy.h"
#include "chrome/worker/worker_webapplicationcachehost_impl.h"
#include "ipc/ipc_channel.h"
@@ -30,6 +31,10 @@ class WebWorkerStubBase : public IPC::Channel::Listener {
const WorkerAppCacheInitInfo& appcache_init_info() const {
return appcache_init_info_;
}
+
+ // Returns the script url of this worker.
+ virtual const GURL& url() const = 0;
+
private:
int route_id_;
WorkerAppCacheInitInfo appcache_init_info_;
« no previous file with comments | « chrome/worker/webworker_stub.cc ('k') | chrome/worker/webworkerclient_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698