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