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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 "content/child/appcache/web_application_cache_host_impl.h" 8 #include "content/child/appcache/web_application_cache_host_impl.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 12 matching lines...) Expand all
23 int process_id, int64 cache_id) 23 int process_id, int64 cache_id)
24 : parent_process_id(process_id), 24 : parent_process_id(process_id),
25 main_resource_appcache_id(cache_id) { 25 main_resource_appcache_id(cache_id) {
26 } 26 }
27 }; 27 };
28 28
29 class WorkerWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl { 29 class WorkerWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl {
30 public: 30 public:
31 WorkerWebApplicationCacheHostImpl( 31 WorkerWebApplicationCacheHostImpl(
32 const WorkerAppCacheInitInfo& init_info, 32 const WorkerAppCacheInitInfo& init_info,
33 WebKit::WebApplicationCacheHostClient* client); 33 blink::WebApplicationCacheHostClient* client);
34 34
35 // Main resource loading is different for workers. The resource is 35 // Main resource loading is different for workers. The resource is
36 // loaded by the creator of the worker rather than the worker itself. 36 // loaded by the creator of the worker rather than the worker itself.
37 // These overrides are stubbed out. 37 // These overrides are stubbed out.
38 virtual void willStartMainResourceRequest( 38 virtual void willStartMainResourceRequest(
39 WebKit::WebURLRequest&, const WebKit::WebFrame*); 39 blink::WebURLRequest&, const blink::WebFrame*);
40 virtual void didReceiveResponseForMainResource( 40 virtual void didReceiveResponseForMainResource(
41 const WebKit::WebURLResponse&); 41 const blink::WebURLResponse&);
42 virtual void didReceiveDataForMainResource(const char* data, int len); 42 virtual void didReceiveDataForMainResource(const char* data, int len);
43 virtual void didFinishLoadingMainResource(bool success); 43 virtual void didFinishLoadingMainResource(bool success);
44 44
45 // Cache selection is also different for workers. We know at construction 45 // Cache selection is also different for workers. We know at construction
46 // time what cache to select and do so then. 46 // time what cache to select and do so then.
47 // These overrides are stubbed out. 47 // These overrides are stubbed out.
48 virtual void selectCacheWithoutManifest(); 48 virtual void selectCacheWithoutManifest();
49 virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL); 49 virtual bool selectCacheWithManifest(const blink::WebURL& manifestURL);
50 }; 50 };
51 51
52 } // namespace content 52 } // namespace content
53 53
54 #endif // CHROME_WORKER_WORKER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 54 #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