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

Side by Side Diff: chrome/browser/autofill/autofill_download_unittest.cc

Issue 6775005: iwyu: Cleanup in the following files: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit test fixes. Created 9 years, 8 months 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
« no previous file with comments | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/autofill/autofill_field.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) 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 <list> 5 #include <list>
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/test/test_timeouts.h" 8 #include "base/test/test_timeouts.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/autofill/autofill_download.h" 10 #include "chrome/browser/autofill/autofill_download.h"
11 #include "chrome/browser/autofill/autofill_field.h"
11 #include "chrome/browser/autofill/autofill_metrics.h" 12 #include "chrome/browser/autofill/autofill_metrics.h"
13 #include "chrome/browser/autofill/form_structure.h"
12 #include "chrome/common/net/test_url_fetcher_factory.h" 14 #include "chrome/common/net/test_url_fetcher_factory.h"
13 #include "chrome/test/test_url_request_context_getter.h" 15 #include "chrome/test/test_url_request_context_getter.h"
14 #include "chrome/test/testing_browser_process.h" 16 #include "chrome/test/testing_browser_process.h"
15 #include "chrome/test/testing_browser_process_test.h" 17 #include "chrome/test/testing_browser_process_test.h"
16 #include "chrome/test/testing_profile.h" 18 #include "chrome/test/testing_profile.h"
17 #include "net/url_request/url_request_status.h" 19 #include "net/url_request/url_request_status.h"
18 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
19 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
21 #include "webkit/glue/form_data.h" 23 #include "webkit/glue/form_data.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 net::URLRequestStatus(), 527 net::URLRequestStatus(),
526 200, ResponseCookies(), 528 200, ResponseCookies(),
527 std::string(responses[0])); 529 std::string(responses[0]));
528 ASSERT_EQ(static_cast<size_t>(1), helper.responses_.size()); 530 ASSERT_EQ(static_cast<size_t>(1), helper.responses_.size());
529 EXPECT_EQ(responses[0], helper.responses_.front().response); 531 EXPECT_EQ(responses[0], helper.responses_.front().response);
530 532
531 // Make sure consumer of URLFetcher does the right thing. 533 // Make sure consumer of URLFetcher does the right thing.
532 URLFetcher::set_factory(NULL); 534 URLFetcher::set_factory(NULL);
533 } 535 }
534 536
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/autofill/autofill_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698