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

Side by Side Diff: webkit/glue/mimetype_unittest.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 | « webkit/glue/media/video_renderer_impl.h ('k') | webkit/glue/multipart_response_delegate.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "config.h" 5 #include "config.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #undef LOG 9 #undef LOG
10 10
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "net/url_request/url_request_unittest.h" 12 #include "net/url_request/url_request_unittest.h"
13 #include "webkit/api/public/WebFrame.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
14 #include "webkit/api/public/WebView.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
15 #include "webkit/glue/unittest_test_server.h" 15 #include "webkit/glue/unittest_test_server.h"
16 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 #include "webkit/tools/test_shell/test_shell_test.h" 17 #include "webkit/tools/test_shell/test_shell_test.h"
18 18
19 using WebKit::WebFrame; 19 using WebKit::WebFrame;
20 20
21 namespace { 21 namespace {
22 22
23 class MimeTypeTests : public TestShellTest { 23 class MimeTypeTests : public TestShellTest {
24 public: 24 public:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 CheckMimeType(not_text[i], L""); 86 CheckMimeType(not_text[i], L"");
87 test_shell_->webView()->mainFrame()->stopLoading(); 87 test_shell_->webView()->mainFrame()->stopLoading();
88 } 88 }
89 89
90 // TODO(tc): make sure other mime types properly go to download (e.g., 90 // TODO(tc): make sure other mime types properly go to download (e.g.,
91 // image/foo). 91 // image/foo).
92 92
93 } 93 }
94 94
95 } // namespace 95 } // namespace
OLDNEW
« no previous file with comments | « webkit/glue/media/video_renderer_impl.h ('k') | webkit/glue/multipart_response_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698