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

Side by Side Diff: ppapi/native_client/tests/ppapi_geturl/module.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 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 "native_client/tests/ppapi_geturl/module.h" 5 #include "native_client/tests/ppapi_geturl/module.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include <string> 11 #include <string>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 printf("--- ReportResult posts result string:\n\t%s\n", result.c_str()); 314 printf("--- ReportResult posts result string:\n\t%s\n", result.c_str());
315 struct PP_Var var_result = StrToVar(result); 315 struct PP_Var var_result = StrToVar(result);
316 ppb_messaging_interface()->PostMessage(pp_instance, var_result); 316 ppb_messaging_interface()->PostMessage(pp_instance, var_result);
317 // If the message was created using VarFromUtf8() it needs to be released. 317 // If the message was created using VarFromUtf8() it needs to be released.
318 // See the comments about VarFromUtf8() in ppapi/c/ppb_var.h for more 318 // See the comments about VarFromUtf8() in ppapi/c/ppb_var.h for more
319 // information. 319 // information.
320 if (var_result.type == PP_VARTYPE_STRING) { 320 if (var_result.type == PP_VARTYPE_STRING) {
321 ppb_var_interface()->Release(var_result); 321 ppb_var_interface()->Release(var_result);
322 } 322 }
323 } 323 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698