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

Side by Side Diff: chrome/test/data/nacl/exit_status/pm_exit_status_test.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * Post-message based test for testing crash detection. 8 * Post-message based test for testing crash detection.
9 */ 9 */
10 #include <string> 10 #include <string>
11 11
12 #include <assert.h> 12 #include <assert.h>
13 #include <inttypes.h>
14 #include <stddef.h>
13 #include <stdio.h> 15 #include <stdio.h>
14 #include <stdlib.h> 16 #include <stdlib.h>
15 #include <inttypes.h> 17 #include <string.h>
16 #include <sys/fcntl.h> 18 #include <sys/fcntl.h>
17 #include <string.h>
18 #include <unistd.h> 19 #include <unistd.h>
19 20
20 #include "ppapi/cpp/instance.h" 21 #include "ppapi/cpp/instance.h"
21 #include "ppapi/cpp/module.h" 22 #include "ppapi/cpp/module.h"
22 #include "ppapi/cpp/var.h" 23 #include "ppapi/cpp/var.h"
23 24
24 void Initialize(const pp::Var& message_data, std::string* out) { 25 void Initialize(const pp::Var& message_data, std::string* out) {
25 *out = "hello world"; 26 *out = "hello world";
26 } 27 }
27 28
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 namespace pp { 126 namespace pp {
126 127
127 // Factory function for your specialization of the Module object. 128 // Factory function for your specialization of the Module object.
128 Module* CreateModule() { 129 Module* CreateModule() {
129 printf("hello world from CreateModule\n"); fflush(NULL); 130 printf("hello world from CreateModule\n"); fflush(NULL);
130 return new MyModule(); 131 return new MyModule();
131 } 132 }
132 133
133 } // namespace pp 134 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698