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

Side by Side Diff: content/worker/worker_webapplicationcachehost_impl.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 #include "content/worker/worker_webapplicationcachehost_impl.h" 5 #include "content/worker/worker_webapplicationcachehost_impl.h"
6 6
7 #include "content/common/appcache/appcache_dispatcher.h" 7 #include "content/common/appcache/appcache_dispatcher.h"
8 #include "content/worker/worker_thread.h" 8 #include "content/worker/worker_thread.h"
9 9
10 namespace content {
11
10 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl( 12 WorkerWebApplicationCacheHostImpl::WorkerWebApplicationCacheHostImpl(
11 const WorkerAppCacheInitInfo& init_info, 13 const WorkerAppCacheInitInfo& init_info,
12 WebKit::WebApplicationCacheHostClient* client) 14 WebKit::WebApplicationCacheHostClient* client)
13 : WebApplicationCacheHostImpl(client, 15 : WebApplicationCacheHostImpl(client,
14 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) { 16 WorkerThread::current()->appcache_dispatcher()->backend_proxy()) {
15 backend()->SelectCacheForSharedWorker(host_id(), 17 backend()->SelectCacheForSharedWorker(host_id(),
16 init_info.main_resource_appcache_id); 18 init_info.main_resource_appcache_id);
17 } 19 }
18 20
19 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest( 21 void WorkerWebApplicationCacheHostImpl::willStartMainResourceRequest(
(...skipping 12 matching lines...) Expand all
32 bool) { 34 bool) {
33 } 35 }
34 36
35 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() { 37 void WorkerWebApplicationCacheHostImpl::selectCacheWithoutManifest() {
36 } 38 }
37 39
38 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest( 40 bool WorkerWebApplicationCacheHostImpl::selectCacheWithManifest(
39 const WebKit::WebURL&) { 41 const WebKit::WebURL&) {
40 return true; 42 return true;
41 } 43 }
44
45 } // namespace content
OLDNEW
« no previous file with comments | « content/worker/worker_webapplicationcachehost_impl.h ('k') | content/worker/worker_webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698