| 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 <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/cpp/completion_callback.h" | 12 #include "ppapi/cpp/completion_callback.h" |
| 11 #include "ppapi/cpp/instance_handle.h" | 13 #include "ppapi/cpp/instance_handle.h" |
| 12 | 14 |
| 13 namespace pp { | 15 namespace pp { |
| 14 | 16 |
| 15 /// This class provides a way to determine the appropriate proxy settings for | 17 /// This class provides a way to determine the appropriate proxy settings for |
| 16 /// for a given URL. | 18 /// for a given URL. |
| 17 /// | 19 /// |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. | 42 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| 41 static int32_t GetProxyForURL( | 43 static int32_t GetProxyForURL( |
| 42 const InstanceHandle& instance, | 44 const InstanceHandle& instance, |
| 43 const Var& url, | 45 const Var& url, |
| 44 const pp::CompletionCallbackWithOutput<Var>& callback); | 46 const pp::CompletionCallbackWithOutput<Var>& callback); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace pp | 49 } // namespace pp |
| 48 | 50 |
| 49 #endif // PPAPI_CPP_NETWORK_PROXY_H_ | 51 #endif // PPAPI_CPP_NETWORK_PROXY_H_ |
| OLD | NEW |