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

Side by Side Diff: ppapi/proxy/file_system_resource_unittest.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/proxy/file_system_resource.h ('k') | ppapi/proxy/flash_clipboard_resource.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdint.h>
6
5 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
6 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
7 #include "ppapi/c/ppb_file_io.h" 9 #include "ppapi/c/ppb_file_io.h"
8 #include "ppapi/c/ppb_file_ref.h" 10 #include "ppapi/c/ppb_file_ref.h"
9 #include "ppapi/c/ppb_file_system.h" 11 #include "ppapi/c/ppb_file_system.h"
10 #include "ppapi/proxy/file_system_resource.h" 12 #include "ppapi/proxy/file_system_resource.h"
11 #include "ppapi/proxy/locking_resource_releaser.h" 13 #include "ppapi/proxy/locking_resource_releaser.h"
12 #include "ppapi/proxy/plugin_message_filter.h" 14 #include "ppapi/proxy/plugin_message_filter.h"
13 #include "ppapi/proxy/ppapi_message_utils.h" 15 #include "ppapi/proxy/ppapi_message_utils.h"
14 #include "ppapi/proxy/ppapi_messages.h" 16 #include "ppapi/proxy/ppapi_messages.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 // There is kQuotaRequestAmount1 of quota left, and a request for it should 362 // There is kQuotaRequestAmount1 of quota left, and a request for it should
361 // succeed immediately. 363 // succeed immediately.
362 result = file_system_api->RequestQuota( 364 result = file_system_api->RequestQuota(
363 kQuotaRequestAmount1, 365 kQuotaRequestAmount1,
364 base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1))); 366 base::Bind(&MockRequestQuotaCallback::Callback, base::Unretained(&cb1)));
365 ASSERT_EQ(kQuotaRequestAmount1, result); 367 ASSERT_EQ(kQuotaRequestAmount1, result);
366 } 368 }
367 369
368 } // namespace proxy 370 } // namespace proxy
369 } // namespace ppapi 371 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/file_system_resource.h ('k') | ppapi/proxy/flash_clipboard_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698