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

Unified Diff: chrome/worker/worker_webapplicationcachehost_impl.cc

Issue 1719007: Initializing an appcache host in a worker process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/worker/worker_webapplicationcachehost_impl.cc
===================================================================
--- chrome/worker/worker_webapplicationcachehost_impl.cc (revision 0)
+++ chrome/worker/worker_webapplicationcachehost_impl.cc (revision 0)
@@ -0,0 +1,18 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/worker/worker_webapplicationcachehost_impl.h"
+
+#include "base/logging.h"
+#include "chrome/common/appcache/appcache_dispatcher.h"
+#include "chrome/worker/worker_thread.h"
+
+WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
+ const WorkerAppCacheInitInfo& init_info,
+ WebKit::WebApplicationCacheHostClient* client)
+ : WebApplicationCacheHostImpl(client,
+ WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
+ // TODO(michaeln): Send a worker specific init message.
+ // backend_->SelectCacheForWorker(init_info);
+}
Property changes on: chrome\worker\worker_webapplicationcachehost_impl.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/worker/worker_webapplicationcachehost_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698