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

Side by Side Diff: ppapi/proxy/file_chooser_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_chooser_resource.cc ('k') | ppapi/proxy/file_io_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 (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 <stddef.h>
6 #include <stdint.h>
7
5 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
6 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
7 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/ppb_file_ref.h" 11 #include "ppapi/c/ppb_file_ref.h"
9 #include "ppapi/proxy/file_chooser_resource.h" 12 #include "ppapi/proxy/file_chooser_resource.h"
10 #include "ppapi/proxy/locking_resource_releaser.h" 13 #include "ppapi/proxy/locking_resource_releaser.h"
11 #include "ppapi/proxy/plugin_message_filter.h" 14 #include "ppapi/proxy/plugin_message_filter.h"
12 #include "ppapi/proxy/ppapi_messages.h" 15 #include "ppapi/proxy/ppapi_messages.h"
13 #include "ppapi/proxy/ppapi_proxy_test.h" 16 #include "ppapi/proxy/ppapi_proxy_test.h"
14 #include "ppapi/shared_impl/proxy_lock.h" 17 #include "ppapi/shared_impl/proxy_lock.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 EXPECT_TRUE(CheckParseAcceptType(" app/txt , app/pdf ", 141 EXPECT_TRUE(CheckParseAcceptType(" app/txt , app/pdf ",
139 "app/txt", "app/pdf")); 142 "app/txt", "app/pdf"));
140 143
141 // No dot or slash ones should be skipped. 144 // No dot or slash ones should be skipped.
142 EXPECT_TRUE(CheckParseAcceptType("foo", NULL, NULL)); 145 EXPECT_TRUE(CheckParseAcceptType("foo", NULL, NULL));
143 EXPECT_TRUE(CheckParseAcceptType("foo,.txt", ".txt", NULL)); 146 EXPECT_TRUE(CheckParseAcceptType("foo,.txt", ".txt", NULL));
144 } 147 }
145 148
146 } // namespace proxy 149 } // namespace proxy
147 } // namespace ppapi 150 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/file_chooser_resource.cc ('k') | ppapi/proxy/file_io_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698