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

Side by Side Diff: ppapi/cpp/var.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 months 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/var.h ('k') | ppapi/cpp/var_array_buffer.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 #include "ppapi/cpp/var.h" 5 #include "ppapi/cpp/var.h"
6 6
7 #include <stddef.h>
7 #include <stdio.h> 8 #include <stdio.h>
8 #include <string.h> 9 #include <string.h>
9 10
10 #include <algorithm> 11 #include <algorithm>
11 12
12 #include "ppapi/c/pp_var.h" 13 #include "ppapi/c/pp_var.h"
13 #include "ppapi/c/ppb_var.h" 14 #include "ppapi/c/ppb_var.h"
14 #include "ppapi/cpp/instance.h" 15 #include "ppapi/cpp/instance.h"
15 #include "ppapi/cpp/logging.h" 16 #include "ppapi/cpp/logging.h"
16 #include "ppapi/cpp/module.h" 17 #include "ppapi/cpp/module.h"
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 snprintf(buf, sizeof(buf), "Var(ARRAY_BUFFER)"); 313 snprintf(buf, sizeof(buf), "Var(ARRAY_BUFFER)");
313 } else if (is_resource()) { 314 } else if (is_resource()) {
314 snprintf(buf, sizeof(buf), "Var(RESOURCE)"); 315 snprintf(buf, sizeof(buf), "Var(RESOURCE)");
315 } else { 316 } else {
316 buf[0] = '\0'; 317 buf[0] = '\0';
317 } 318 }
318 return buf; 319 return buf;
319 } 320 }
320 321
321 } // namespace pp 322 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/var.h ('k') | ppapi/cpp/var_array_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698