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

Unified Diff: chrome/worker/worker_webapplicationcachehost_impl.cc

Issue 6691004: Move worker code from chrome\worker to content\worker. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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') | chrome/worker/worker_webkitclient_impl.h » ('j') | 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 78005)
+++ chrome/worker/worker_webapplicationcachehost_impl.cc (working copy)
@@ -1,27 +0,0 @@
-// Copyright (c) 2011 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 "chrome/worker/worker_thread.h"
-#include "content/common/appcache/appcache_dispatcher.h"
-
-WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
- const WorkerAppCacheInitInfo& init_info,
- WebKit::WebApplicationCacheHostClient* client)
- : WebApplicationCacheHostImpl(client,
- WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
- if (init_info.is_shared_worker)
- backend()->SelectCacheForSharedWorker(host_id(),
- init_info.main_resource_appcache_id);
- else
- backend()->SelectCacheForWorker(host_id(),
- init_info.parent_process_id,
- init_info.parent_appcache_host_id);
-}
-
-bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
- const WebKit::WebURL& manifestURL) {
- return true;
-}
« no previous file with comments | « chrome/worker/worker_webapplicationcachehost_impl.h ('k') | chrome/worker/worker_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698