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

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

Issue 1564773002: Move components/compression to third_party/zlib/google (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix another #include... Created 4 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/base_switches.h" 5 #include "base/base_switches.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/autofill/personal_data_manager_factory.h" 11 #include "chrome/browser/autofill/personal_data_manager_factory.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" 14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
15 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
16 #include "chrome/test/base/ui_test_utils.h" 16 #include "chrome/test/base/ui_test_utils.h"
17 #include "components/autofill/core/browser/autofill_profile.h" 17 #include "components/autofill/core/browser/autofill_profile.h"
18 #include "components/autofill/core/browser/autofill_test_utils.h" 18 #include "components/autofill/core/browser/autofill_test_utils.h"
19 #include "components/autofill/core/browser/personal_data_manager.h" 19 #include "components/autofill/core/browser/personal_data_manager.h"
20 #include "components/autofill/core/browser/personal_data_manager_observer.h" 20 #include "components/autofill/core/browser/personal_data_manager_observer.h"
21 #include "components/compression/compression_utils.h"
22 #include "content/public/test/browser_test_utils.h" 21 #include "content/public/test/browser_test_utils.h"
23 #include "content/public/test/test_utils.h" 22 #include "content/public/test/test_utils.h"
24 #include "net/url_request/test_url_fetcher_factory.h" 23 #include "net/url_request/test_url_fetcher_factory.h"
25 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "third_party/zlib/google/compression_utils.h"
26 26
27 namespace autofill { 27 namespace autofill {
28 namespace { 28 namespace {
29 29
30 // TODO(bondd): PdmChangeWaiter in autofill_uitest_util.cc is a replacement for 30 // TODO(bondd): PdmChangeWaiter in autofill_uitest_util.cc is a replacement for
31 // this class. Remove this class and use helper functions in that file instead. 31 // this class. Remove this class and use helper functions in that file instead.
32 class WindowedPersonalDataManagerObserver : public PersonalDataManagerObserver { 32 class WindowedPersonalDataManagerObserver : public PersonalDataManagerObserver {
33 public: 33 public:
34 explicit WindowedPersonalDataManagerObserver(Profile* profile) 34 explicit WindowedPersonalDataManagerObserver(Profile* profile)
35 : profile_(profile), 35 : profile_(profile),
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 "<field signature=\"2750915947\" name=\"two\" type=\"text\"/>" 198 "<field signature=\"2750915947\" name=\"two\" type=\"text\"/>"
199 "<field signature=\"116843943\" name=\"three\" type=\"password\"/>" 199 "<field signature=\"116843943\" name=\"three\" type=\"password\"/>"
200 "</form></autofillquery>\n"; 200 "</form></autofillquery>\n";
201 WindowedNetworkObserver query_network_observer(Compress(kQueryRequest)); 201 WindowedNetworkObserver query_network_observer(Compress(kQueryRequest));
202 ui_test_utils::NavigateToURL( 202 ui_test_utils::NavigateToURL(
203 browser(), GURL(std::string(kDataURIPrefix) + kFormHtml)); 203 browser(), GURL(std::string(kDataURIPrefix) + kFormHtml));
204 query_network_observer.Wait(); 204 query_network_observer.Wait();
205 } 205 }
206 206
207 } // namespace autofill 207 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698