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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 16174013: Remove dependency of WebData on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <map> 5 #include <map>
6 6
7 #include "base/bind.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/guid.h" 9 #include "base/guid.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 11 #include "base/message_loop.h"
11 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" 15 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
15 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" 16 #include "chrome/browser/ui/autofill/autofill_dialog_view.h"
16 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after
2032 CreateFullWallet("choose_another_instrument_or_address")); 2033 CreateFullWallet("choose_another_instrument_or_address"));
2033 EXPECT_EQ(1U, NotificationsOfType( 2034 EXPECT_EQ(1U, NotificationsOfType(
2034 DialogNotification::REQUIRED_ACTION).size()); 2035 DialogNotification::REQUIRED_ACTION).size());
2035 2036
2036 controller()->OnAccept(); 2037 controller()->OnAccept();
2037 EXPECT_EQ(0U, NotificationsOfType( 2038 EXPECT_EQ(0U, NotificationsOfType(
2038 DialogNotification::REQUIRED_ACTION).size()); 2039 DialogNotification::REQUIRED_ACTION).size());
2039 } 2040 }
2040 2041
2041 } // namespace autofill 2042 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_win_unittest.cc ('k') | chrome/browser/webdata/token_web_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698