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

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

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
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webapplicationcachehost_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 5 #ifndef CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_
6 #define CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 6 #define CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_
7 7
8 #include "webkit/appcache/web_application_cache_host_impl.h" 8 #include "webkit/appcache/web_application_cache_host_impl.h"
9 9
10 namespace content {
11
10 // Information used to construct and initialize an appcache host 12 // Information used to construct and initialize an appcache host
11 // for a worker. 13 // for a worker.
12 struct WorkerAppCacheInitInfo { 14 struct WorkerAppCacheInitInfo {
13 int parent_process_id; 15 int parent_process_id;
14 int64 main_resource_appcache_id; // Only valid for shared workers. 16 int64 main_resource_appcache_id; // Only valid for shared workers.
15 17
16 WorkerAppCacheInitInfo() 18 WorkerAppCacheInitInfo()
17 : parent_process_id(0), 19 : parent_process_id(0),
18 main_resource_appcache_id(0) { 20 main_resource_appcache_id(0) {
19 } 21 }
(...skipping 21 matching lines...) Expand all
41 virtual void didReceiveDataForMainResource(const char* data, int len); 43 virtual void didReceiveDataForMainResource(const char* data, int len);
42 virtual void didFinishLoadingMainResource(bool success); 44 virtual void didFinishLoadingMainResource(bool success);
43 45
44 // Cache selection is also different for workers. We know at construction 46 // Cache selection is also different for workers. We know at construction
45 // time what cache to select and do so then. 47 // time what cache to select and do so then.
46 // These overrides are stubbed out. 48 // These overrides are stubbed out.
47 virtual void selectCacheWithoutManifest(); 49 virtual void selectCacheWithoutManifest();
48 virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL); 50 virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL);
49 }; 51 };
50 52
53 } // namespace content
54
51 #endif // CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 55 #endif // CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webapplicationcachehost_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698