| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ | 7 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ |
| 8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ | 8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ |
| 9 | 9 |
| 10 #include "native_client/src/include/nacl_macros.h" | 10 #include "native_client/src/include/nacl_macros.h" |
| 11 #include "ppapi/c/ppb_url_loader.h" | 11 #include "ppapi/c/ppb_url_loader.h" |
| 12 | 12 |
| 13 namespace ppapi_proxy { | 13 namespace ppapi_proxy { |
| 14 | 14 |
| 15 // Implements the plugin (i.e., .nexe) side of the PPB_URLLoader interface. | 15 // Implements the untrusted side of the PPB_URLLoader interface. |
| 16 class PluginURLLoader { | 16 class PluginURLLoader { |
| 17 public: | 17 public: |
| 18 static const PPB_URLLoader* GetInterface(); | 18 static const PPB_URLLoader* GetInterface(); |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginURLLoader); | 21 NACL_DISALLOW_COPY_AND_ASSIGN(PluginURLLoader); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace ppapi_proxy | 24 } // namespace ppapi_proxy |
| 25 | 25 |
| 26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ | 26 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_URL_LOADER_H_ |
| OLD | NEW |