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

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

Issue 3009005: Chrome side of changes required to populate appcache resource list.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_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 class RenderView; 10 class RenderView;
11 11
12 class RendererWebApplicationCacheHostImpl 12 class RendererWebApplicationCacheHostImpl
13 : public appcache::WebApplicationCacheHostImpl { 13 : public appcache::WebApplicationCacheHostImpl {
14 public: 14 public:
15 RendererWebApplicationCacheHostImpl( 15 RendererWebApplicationCacheHostImpl(
16 RenderView* render_view, 16 RenderView* render_view,
17 WebKit::WebApplicationCacheHostClient* client, 17 WebKit::WebApplicationCacheHostClient* client,
18 appcache::AppCacheBackend* backend); 18 appcache::AppCacheBackend* backend);
19 19
20 // appcache::WebApplicationCacheHostImpl methods. 20 // appcache::WebApplicationCacheHostImpl methods.
21 virtual void OnLogMessage(appcache::LogLevel log_level, 21 virtual void OnLogMessage(appcache::LogLevel log_level,
22 const std::string& message); 22 const std::string& message);
23 virtual void OnContentBlocked(const GURL& manifest_url); 23 virtual void OnContentBlocked(const GURL& manifest_url);
24 virtual void OnCacheSelected(int64 selected_cache_id, 24 virtual void OnCacheSelected(const appcache::AppCacheInfo& info);
25 appcache::Status status);
26 25
27 private: 26 private:
28 RenderView* GetRenderView(); 27 RenderView* GetRenderView();
29 28
30 bool content_blocked_; 29 bool content_blocked_;
31 int routing_id_; 30 int routing_id_;
32 }; 31 };
33 32
34 #endif // CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_ 33 #endif // CHROME_RENDERER_RENDERER_WEBAPPLICATIONCACHEHOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698