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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/worker/worker_webapplicationcachehost_impl.h"
6
7 #include "chrome/worker/worker_thread.h"
8 #include "content/common/appcache/appcache_dispatcher.h"
9
10 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
11 const WorkerAppCacheInitInfo& init_info,
12 WebKit::WebApplicationCacheHostClient* client)
13 : WebApplicationCacheHostImpl(client,
14 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
15 if (init_info.is_shared_worker)
16 backend()->SelectCacheForSharedWorker(host_id(),
17 init_info.main_resource_appcache_id);
18 else
19 backend()->SelectCacheForWorker(host_id(),
20 init_info.parent_process_id,
21 init_info.parent_appcache_host_id);
22 }
23
24 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
25 const WebKit::WebURL& manifestURL) {
26 return true;
27 }
OLDNEW
« 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