| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <list> | 5 #include <list> |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/autofill/autofill_download.h" | 9 #include "chrome/browser/autofill/autofill_download.h" |
| 9 #include "chrome/common/net/test_url_fetcher_factory.h" | 10 #include "chrome/common/net/test_url_fetcher_factory.h" |
| 10 #include "chrome/test/testing_profile.h" | 11 #include "chrome/test/testing_profile.h" |
| 11 #include "net/url_request/url_request_status.h" | 12 #include "net/url_request/url_request_status.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" |
| 14 #include "webkit/glue/form_data.h" | 15 #include "webkit/glue/form_data.h" |
| 15 | 16 |
| 16 using webkit_glue::FormData; | 17 using webkit_glue::FormData; |
| 17 using WebKit::WebInputElement; | 18 using WebKit::WebInputElement; |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 true)); | 291 true)); |
| 291 fetcher = factory.GetFetcherByID(5); | 292 fetcher = factory.GetFetcherByID(5); |
| 292 EXPECT_EQ(NULL, fetcher); | 293 EXPECT_EQ(NULL, fetcher); |
| 293 | 294 |
| 294 // Make sure consumer of URLFetcher does the right thing. | 295 // Make sure consumer of URLFetcher does the right thing. |
| 295 URLFetcher::set_factory(NULL); | 296 URLFetcher::set_factory(NULL); |
| 296 } | 297 } |
| 297 | 298 |
| 298 } // namespace | 299 } // namespace |
| 299 | 300 |
| OLD | NEW |