OLD | NEW |
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 #include "chrome/renderer/renderer_webapplicationcachehost_impl.h" | 5 #include "content/renderer/renderer_webapplicationcachehost_impl.h" |
6 | 6 |
7 #include "chrome/common/content_settings_types.h" | 7 #include "chrome/common/content_settings_types.h" |
8 #include "chrome/common/render_messages.h" | 8 #include "chrome/common/render_messages.h" |
9 #include "chrome/renderer/render_thread.h" | 9 #include "chrome/renderer/render_thread.h" |
10 #include "chrome/renderer/render_view.h" | 10 #include "chrome/renderer/render_view.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
13 | 13 |
14 using appcache::AppCacheBackend; | 14 using appcache::AppCacheBackend; |
15 using WebKit::WebApplicationCacheHostClient; | 15 using WebKit::WebApplicationCacheHostClient; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed( | 49 RenderThread::current()->Send(new ViewHostMsg_AppCacheAccessed( |
50 routing_id_, info.manifest_url, false)); | 50 routing_id_, info.manifest_url, false)); |
51 } | 51 } |
52 WebApplicationCacheHostImpl::OnCacheSelected(info); | 52 WebApplicationCacheHostImpl::OnCacheSelected(info); |
53 } | 53 } |
54 | 54 |
55 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() { | 55 RenderView* RendererWebApplicationCacheHostImpl::GetRenderView() { |
56 return static_cast<RenderView*> | 56 return static_cast<RenderView*> |
57 (RenderThread::current()->ResolveRoute(routing_id_)); | 57 (RenderThread::current()->ResolveRoute(routing_id_)); |
58 } | 58 } |
OLD | NEW |