Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: ppapi/thunk/ppb_url_loader_api.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_THUNK_URL_LOADER_API_H_ 5 #ifndef PPAPI_THUNK_URL_LOADER_API_H_
6 #define PPAPI_THUNK_URL_LOADER_API_H_ 6 #define PPAPI_THUNK_URL_LOADER_API_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "ppapi/c/ppb_url_loader.h" 11 #include "ppapi/c/ppb_url_loader.h"
12 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 12 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 15
16 class TrackedCallback; 16 class TrackedCallback;
17 struct URLRequestInfoData; 17 struct URLRequestInfoData;
18 struct URLResponseInfoData;
19 18
20 namespace thunk { 19 namespace thunk {
21 20
22 class PPB_URLLoader_API { 21 class PPB_URLLoader_API {
23 public: 22 public:
24 virtual ~PPB_URLLoader_API() {} 23 virtual ~PPB_URLLoader_API() {}
25 24
26 // Open given the resource ID of a PPB_URLRequestInfo resource. 25 // Open given the resource ID of a PPB_URLRequestInfo resource.
27 virtual int32_t Open(PP_Resource request_id, 26 virtual int32_t Open(PP_Resource request_id,
28 scoped_refptr<TrackedCallback> callback) = 0; 27 scoped_refptr<TrackedCallback> callback) = 0;
(...skipping 21 matching lines...) Expand all
50 // Trusted API. 49 // Trusted API.
51 virtual void GrantUniversalAccess() = 0; 50 virtual void GrantUniversalAccess() = 0;
52 virtual void RegisterStatusCallback( 51 virtual void RegisterStatusCallback(
53 PP_URLLoaderTrusted_StatusCallback cb) = 0; 52 PP_URLLoaderTrusted_StatusCallback cb) = 0;
54 }; 53 };
55 54
56 } // namespace thunk 55 } // namespace thunk
57 } // namespace ppapi 56 } // namespace ppapi
58 57
59 #endif // PPAPI_THUNK_URL_LOADER_API_H_ 58 #endif // PPAPI_THUNK_URL_LOADER_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698