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

Side by Side Diff: webkit/plugins/ppapi/ppb_file_chooser_impl_unittest.cc

Issue 8787003: Update these includes to use the new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 6 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
7 #include "webkit/plugins/ppapi/ppb_file_chooser_impl.h" 7 #include "webkit/plugins/ppapi/ppb_file_chooser_impl.h"
8 8
9 using WebKit::WebString; 9 using WebKit::WebString;
10 10
11 namespace webkit { 11 namespace webkit {
12 namespace ppapi { 12 namespace ppapi {
13 13
14 TEST(PPB_FileChooser_ImplTest, ParseAcceptValue) { 14 TEST(PPB_FileChooser_ImplTest, ParseAcceptValue) {
15 std::vector<WebString> parsed; 15 std::vector<WebString> parsed;
16 16
(...skipping 13 matching lines...) Expand all
30 "IMAGE/*,,!!,,text/plain, audio /(*) "); 30 "IMAGE/*,,!!,,text/plain, audio /(*) ");
31 EXPECT_EQ(3U, parsed.size()); 31 EXPECT_EQ(3U, parsed.size());
32 EXPECT_EQ("image/*", parsed[0]); 32 EXPECT_EQ("image/*", parsed[0]);
33 EXPECT_EQ("text/plain", parsed[1]); 33 EXPECT_EQ("text/plain", parsed[1]);
34 // We don't need to reject invalid MIME tokens strictly. 34 // We don't need to reject invalid MIME tokens strictly.
35 EXPECT_EQ("audio /(*)", parsed[2]); 35 EXPECT_EQ("audio /(*)", parsed[2]);
36 } 36 }
37 37
38 } // namespace ppapi 38 } // namespace ppapi
39 } // namespace webkit 39 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_file_chooser_impl.cc ('k') | webkit/plugins/ppapi/ppb_flash_clipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698