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

Side by Side Diff: ppapi/tests/test_platform_verification_private.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 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/tests/test_output_protection_private.cc ('k') | ppapi/tests/test_post_message.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/tests/test_platform_verification_private.h" 5 #include "ppapi/tests/test_platform_verification_private.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/cpp/instance.h" 9 #include "ppapi/cpp/instance.h"
8 #include "ppapi/cpp/module.h" 10 #include "ppapi/cpp/module.h"
9 #include "ppapi/cpp/private/platform_verification.h" 11 #include "ppapi/cpp/private/platform_verification.h"
10 #include "ppapi/cpp/var.h" 12 #include "ppapi/cpp/var.h"
11 #include "ppapi/cpp/var_array_buffer.h" 13 #include "ppapi/cpp/var_array_buffer.h"
12 #include "ppapi/tests/test_utils.h" 14 #include "ppapi/tests/test_utils.h"
13 #include "ppapi/tests/testing_instance.h" 15 #include "ppapi/tests/testing_instance.h"
14 16
15 REGISTER_TEST_CASE(PlatformVerificationPrivate); 17 REGISTER_TEST_CASE(PlatformVerificationPrivate);
16 18
(...skipping 17 matching lines...) Expand all
34 std::string service_id_str("fake.service.id"); 36 std::string service_id_str("fake.service.id");
35 pp::Var signed_data, signed_data_signature, platform_key_certificate; 37 pp::Var signed_data, signed_data_signature, platform_key_certificate;
36 callback.WaitForResult(platform_verification_api.ChallengePlatform( 38 callback.WaitForResult(platform_verification_api.ChallengePlatform(
37 pp::Var(service_id_str), challenge_array, &signed_data, 39 pp::Var(service_id_str), challenge_array, &signed_data,
38 &signed_data_signature, &platform_key_certificate, 40 &signed_data_signature, &platform_key_certificate,
39 callback.GetCallback())); 41 callback.GetCallback()));
40 CHECK_CALLBACK_BEHAVIOR(callback); 42 CHECK_CALLBACK_BEHAVIOR(callback);
41 ASSERT_EQ(PP_ERROR_FAILED, callback.result()); 43 ASSERT_EQ(PP_ERROR_FAILED, callback.result());
42 PASS(); 44 PASS();
43 } 45 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_output_protection_private.cc ('k') | ppapi/tests/test_post_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698