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

Side by Side Diff: ppapi/tests/test_output_protection_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_network_monitor.cc ('k') | ppapi/tests/test_platform_verification_private.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_output_protection_private.h" 5 #include "ppapi/tests/test_output_protection_private.h"
6 6
7 #include <stdint.h>
8
7 #include "ppapi/tests/testing_instance.h" 9 #include "ppapi/tests/testing_instance.h"
8 10
9 REGISTER_TEST_CASE(OutputProtectionPrivate); 11 REGISTER_TEST_CASE(OutputProtectionPrivate);
10 12
11 TestOutputProtectionPrivate::TestOutputProtectionPrivate( 13 TestOutputProtectionPrivate::TestOutputProtectionPrivate(
12 TestingInstance* instance) 14 TestingInstance* instance)
13 : TestCase(instance) { 15 : TestCase(instance) {
14 } 16 }
15 17
16 bool TestOutputProtectionPrivate::Init() { 18 bool TestOutputProtectionPrivate::Init() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 Create(instance_->pp_instance()); 53 Create(instance_->pp_instance());
52 callback.WaitForResult( 54 callback.WaitForResult(
53 output_protection_interface_->EnableProtection( 55 output_protection_interface_->EnableProtection(
54 output_protection_resource, 56 output_protection_resource,
55 PP_OUTPUT_PROTECTION_METHOD_PRIVATE_NONE, 57 PP_OUTPUT_PROTECTION_METHOD_PRIVATE_NONE,
56 callback.GetCallback().pp_completion_callback())); 58 callback.GetCallback().pp_completion_callback()));
57 CHECK_CALLBACK_BEHAVIOR(callback); 59 CHECK_CALLBACK_BEHAVIOR(callback);
58 60
59 PASS(); 61 PASS();
60 } 62 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_network_monitor.cc ('k') | ppapi/tests/test_platform_verification_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698