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

Side by Side Diff: ppapi/tests/test_file_chooser.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 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
« no previous file with comments | « ppapi/tests/test_compositor.h ('k') | ppapi/tests/test_file_io.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_file_chooser.h" 5 #include "ppapi/tests/test_file_chooser.h"
6 6
7 #include <stddef.h>
8
7 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/ppb_file_io.h" 10 #include "ppapi/c/ppb_file_io.h"
9 #include "ppapi/cpp/dev/file_chooser_dev.h" 11 #include "ppapi/cpp/dev/file_chooser_dev.h"
10 #include "ppapi/cpp/file_io.h" 12 #include "ppapi/cpp/file_io.h"
11 #include "ppapi/cpp/trusted/file_chooser_trusted.h" 13 #include "ppapi/cpp/trusted/file_chooser_trusted.h"
12 #include "ppapi/cpp/var.h" 14 #include "ppapi/cpp/var.h"
13 15
14 namespace { 16 namespace {
15 17
16 // Test data written by WriteDefaultContentsToFile(). 18 // Test data written by WriteDefaultContentsToFile().
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 190
189 TestCompletionCallbackWithOutput<std::vector<pp::FileRef>> 191 TestCompletionCallbackWithOutput<std::vector<pp::FileRef>>
190 filechooser_callback(instance_->pp_instance(), callback_type()); 192 filechooser_callback(instance_->pp_instance(), callback_type());
191 filechooser_callback.WaitForResult( 193 filechooser_callback.WaitForResult(
192 file_chooser.Show(filechooser_callback.GetCallback())); 194 file_chooser.Show(filechooser_callback.GetCallback()));
193 195
194 const std::vector<pp::FileRef>& output_ref = filechooser_callback.output(); 196 const std::vector<pp::FileRef>& output_ref = filechooser_callback.output();
195 ASSERT_EQ(0u, output_ref.size()); 197 ASSERT_EQ(0u, output_ref.size());
196 PASS(); 198 PASS();
197 } 199 }
OLDNEW
« no previous file with comments | « ppapi/tests/test_compositor.h ('k') | ppapi/tests/test_file_io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698