OLD | NEW |
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 "base/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
6 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 6 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
8 #include "ppapi/proxy/file_chooser_resource.h" | 8 #include "ppapi/proxy/file_chooser_resource.h" |
9 #include "ppapi/proxy/locking_resource_releaser.h" | 9 #include "ppapi/proxy/locking_resource_releaser.h" |
10 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
11 #include "ppapi/proxy/ppapi_proxy_test.h" | 11 #include "ppapi/proxy/ppapi_proxy_test.h" |
12 #include "ppapi/shared_impl/proxy_lock.h" | 12 #include "ppapi/shared_impl/proxy_lock.h" |
13 #include "ppapi/shared_impl/scoped_pp_var.h" | 13 #include "ppapi/shared_impl/scoped_pp_var.h" |
14 #include "ppapi/shared_impl/var.h" | 14 #include "ppapi/shared_impl/var.h" |
15 #include "ppapi/thunk/thunk.h" | 15 #include "ppapi/thunk/thunk.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 EXPECT_TRUE(CheckParseAcceptType(" app/txt , app/pdf ", | 137 EXPECT_TRUE(CheckParseAcceptType(" app/txt , app/pdf ", |
138 "app/txt", "app/pdf")); | 138 "app/txt", "app/pdf")); |
139 | 139 |
140 // No dot or slash ones should be skipped. | 140 // No dot or slash ones should be skipped. |
141 EXPECT_TRUE(CheckParseAcceptType("foo", NULL, NULL)); | 141 EXPECT_TRUE(CheckParseAcceptType("foo", NULL, NULL)); |
142 EXPECT_TRUE(CheckParseAcceptType("foo,.txt", ".txt", NULL)); | 142 EXPECT_TRUE(CheckParseAcceptType("foo,.txt", ".txt", NULL)); |
143 } | 143 } |
144 | 144 |
145 } // namespace proxy | 145 } // namespace proxy |
146 } // namespace ppapi | 146 } // namespace ppapi |
OLD | NEW |