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 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ |
7 | 7 |
8 typedef struct _ppb_UrlUtil PPB_UrlUtil; | 8 struct PPB_UrlUtil_Dev; |
9 | 9 |
10 namespace pepper { | 10 namespace pepper { |
11 | 11 |
12 const PPB_UrlUtil* GetUrlUtilInterface(); | 12 class UrlUtil { |
| 13 public: |
| 14 static const PPB_UrlUtil_Dev* GetInterface(); |
| 15 }; |
13 | 16 |
14 } // namespace pepper | 17 } // namespace pepper |
15 | 18 |
16 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ | 19 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_UTIL_H_ |
OLD | NEW |