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

Side by Side Diff: ppapi/cpp/url_request_info.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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/cpp/udp_socket.h ('k') | ppapi/cpp/url_response_info.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_CPP_URL_REQUEST_INFO_H_ 5 #ifndef PPAPI_CPP_URL_REQUEST_INFO_H_
6 #define PPAPI_CPP_URL_REQUEST_INFO_H_ 6 #define PPAPI_CPP_URL_REQUEST_INFO_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/c/ppb_url_request_info.h" 10 #include "ppapi/c/ppb_url_request_info.h"
9 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/var.h" 12 #include "ppapi/cpp/var.h"
11 13
12 /// @file 14 /// @file
13 /// This file defines the API for creating and manipulating URL requests. 15 /// This file defines the API for creating and manipulating URL requests.
14 namespace pp { 16 namespace pp {
15 17
16 class FileRef; 18 class FileRef;
17 class InstanceHandle; 19 class InstanceHandle;
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 /// 327 ///
326 /// @return true if successful, false if the parameter is invalid. 328 /// @return true if successful, false if the parameter is invalid.
327 bool SetCustomUserAgent(const Var& user_agent) { 329 bool SetCustomUserAgent(const Var& user_agent) {
328 return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMUSERAGENT, user_agent); 330 return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMUSERAGENT, user_agent);
329 } 331 }
330 }; 332 };
331 333
332 } // namespace pp 334 } // namespace pp
333 335
334 #endif // PPAPI_CPP_URL_REQUEST_INFO_H_ 336 #endif // PPAPI_CPP_URL_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/udp_socket.h ('k') | ppapi/cpp/url_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698