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

Side by Side Diff: ppapi/tests/test_flash_drm.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_flash_clipboard.h ('k') | ppapi/tests/test_flash_file.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/tests/test_flash_drm.h" 5 #include "ppapi/tests/test_flash_drm.h"
6 6
7 #include <stdint.h>
8
7 #if defined(PPAPI_OS_WIN) 9 #if defined(PPAPI_OS_WIN)
8 #include <Windows.h> 10 #include <Windows.h>
9 #endif 11 #endif
10 12
11 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/private/ppb_file_ref_private.h" 14 #include "ppapi/c/private/ppb_file_ref_private.h"
13 #include "ppapi/c/private/ppb_flash_drm.h" 15 #include "ppapi/c/private/ppb_flash_drm.h"
14 #include "ppapi/cpp/instance.h" 16 #include "ppapi/cpp/instance.h"
15 #include "ppapi/cpp/module.h" 17 #include "ppapi/cpp/module.h"
16 #include "ppapi/cpp/private/flash_device_id.h" 18 #include "ppapi/cpp/private/flash_device_id.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ASSERT_TRUE(file_ref_private); 124 ASSERT_TRUE(file_ref_private);
123 Var path(PassRef(), file_ref_private->GetAbsolutePath(result.pp_resource())); 125 Var path(PassRef(), file_ref_private->GetAbsolutePath(result.pp_resource()));
124 ASSERT_TRUE(path.is_string()); 126 ASSERT_TRUE(path.is_string());
125 std::string path_string = path.AsString(); 127 std::string path_string = path.AsString();
126 std::string expected_filename = std::string(kExepectedVoucherFilename); 128 std::string expected_filename = std::string(kExepectedVoucherFilename);
127 ASSERT_EQ(expected_filename, 129 ASSERT_EQ(expected_filename,
128 path_string.substr(path_string.size() - expected_filename.size())); 130 path_string.substr(path_string.size() - expected_filename.size()));
129 131
130 PASS(); 132 PASS();
131 } 133 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_flash_clipboard.h ('k') | ppapi/tests/test_flash_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698