| OLD | NEW |
| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "net/url_request/url_request_unittest.h" | 8 #include "net/url_request/url_request_test_util.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 11 #include "webkit/glue/unittest_test_server.h" | 11 #include "webkit/glue/unittest_test_server.h" |
| 12 #include "webkit/glue/webkit_glue.h" | 12 #include "webkit/glue/webkit_glue.h" |
| 13 #include "webkit/tools/test_shell/test_shell_test.h" | 13 #include "webkit/tools/test_shell/test_shell_test.h" |
| 14 | 14 |
| 15 using WebKit::WebFrame; | 15 using WebKit::WebFrame; |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 CheckMimeType(not_text[i], ""); | 81 CheckMimeType(not_text[i], ""); |
| 82 test_shell_->webView()->mainFrame()->stopLoading(); | 82 test_shell_->webView()->mainFrame()->stopLoading(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 // TODO(tc): make sure other mime types properly go to download (e.g., | 85 // TODO(tc): make sure other mime types properly go to download (e.g., |
| 86 // image/foo). | 86 // image/foo). |
| 87 | 87 |
| 88 } | 88 } |
| 89 | 89 |
| 90 } // namespace | 90 } // namespace |
| OLD | NEW |