OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 PPAPI_CPP_NETWORK_PROXY_H_ | 5 #ifndef PPAPI_CPP_NETWORK_PROXY_H_ |
6 #define PPAPI_CPP_NETWORK_PROXY_H_ | 6 #define PPAPI_CPP_NETWORK_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/cpp/completion_callback.h" | 10 #include "ppapi/cpp/completion_callback.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. | 40 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
41 static int32_t GetProxyForURL( | 41 static int32_t GetProxyForURL( |
42 const InstanceHandle& instance, | 42 const InstanceHandle& instance, |
43 const Var& url, | 43 const Var& url, |
44 const pp::CompletionCallbackWithOutput<Var>& callback); | 44 const pp::CompletionCallbackWithOutput<Var>& callback); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace pp | 47 } // namespace pp |
48 | 48 |
49 #endif // PPAPI_CPP_NETWORK_PROXY_H_ | 49 #endif // PPAPI_CPP_NETWORK_PROXY_H_ |
OLD | NEW |