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

Side by Side Diff: content/renderer/renderer_webapplicationcachehost_impl.h

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Address review comments Created 4 years 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
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 CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_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 {
11 class RenderViewImpl; 11 class RenderViewImpl;
12 12
13 class RendererWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl { 13 class RendererWebApplicationCacheHostImpl : public WebApplicationCacheHostImpl {
14 public: 14 public:
15 RendererWebApplicationCacheHostImpl( 15 RendererWebApplicationCacheHostImpl(
16 RenderViewImpl* render_view, 16 RenderViewImpl* render_view,
17 blink::WebApplicationCacheHostClient* client, 17 blink::WebApplicationCacheHostClient* client,
18 AppCacheBackend* backend); 18 AppCacheBackend* backend,
19 int appcache_host_id);
19 20
20 // WebApplicationCacheHostImpl: 21 // WebApplicationCacheHostImpl:
21 void OnLogMessage(AppCacheLogLevel log_level, 22 void OnLogMessage(AppCacheLogLevel log_level,
22 const std::string& message) override; 23 const std::string& message) override;
23 void OnContentBlocked(const GURL& manifest_url) override; 24 void OnContentBlocked(const GURL& manifest_url) override;
24 void OnCacheSelected(const AppCacheInfo& info) override; 25 void OnCacheSelected(const AppCacheInfo& info) override;
25 26
26 private: 27 private:
27 RenderViewImpl* GetRenderView(); 28 RenderViewImpl* GetRenderView();
28 29
29 int routing_id_; 30 int routing_id_;
30 }; 31 };
31 32
32 } // namespace content 33 } // namespace content
33 34
34 #endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 35 #endif // CONTENT_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/renderer_webapplicationcachehost_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698