| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 5 #ifndef WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| 6 #define WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 6 #define WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "net/http/http_cache.h" | 10 #include "net/http/http_cache.h" |
| 11 #include "webkit/glue/resource_loader_bridge.h" | 11 #include "webkit/glue/resource_loader_bridge.h" |
| 12 | 12 |
| 13 class GURL; | 13 class GURL; |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class FilePath; | 16 class FilePath; |
| 17 } | 17 } |
| 18 | 18 |
| 19 class SimpleResourceLoaderBridge { | 19 class SimpleResourceLoaderBridge { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // the path that follows after the |file_path_template| in the request. | 52 // the path that follows after the |file_path_template| in the request. |
| 53 static void AllowFileOverHTTP(const std::string& file_path_template, | 53 static void AllowFileOverHTTP(const std::string& file_path_template, |
| 54 const GURL& http_prefix); | 54 const GURL& http_prefix); |
| 55 | 55 |
| 56 // Creates a ResourceLoaderBridge instance. | 56 // Creates a ResourceLoaderBridge instance. |
| 57 static webkit_glue::ResourceLoaderBridge* Create( | 57 static webkit_glue::ResourceLoaderBridge* Create( |
| 58 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info); | 58 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 #endif // WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 61 #endif // WEBKIT_SUPPORT_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| OLD | NEW |