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

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

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "chrome/browser/browser_process.h" 6 #include "chrome/browser/browser_process.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_tabstrip.h" 8 #include "chrome/browser/ui/browser_tabstrip.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
(...skipping 23 matching lines...) Expand all
34 34
35 virtual PrefService* GetPrefs() { return &prefs_; } 35 virtual PrefService* GetPrefs() { return &prefs_; }
36 36
37 user_prefs::PrefRegistrySyncable* GetPrefRegistry() { 37 user_prefs::PrefRegistrySyncable* GetPrefRegistry() {
38 return prefs_.registry(); 38 return prefs_.registry();
39 } 39 }
40 40
41 MOCK_METHOD7(ShowAutofillPopup, 41 MOCK_METHOD7(ShowAutofillPopup,
42 void(const gfx::RectF& element_bounds, 42 void(const gfx::RectF& element_bounds,
43 base::i18n::TextDirection text_direction, 43 base::i18n::TextDirection text_direction,
44 const std::vector<string16>& values, 44 const std::vector<base::string16>& values,
45 const std::vector<string16>& labels, 45 const std::vector<base::string16>& labels,
46 const std::vector<string16>& icons, 46 const std::vector<base::string16>& icons,
47 const std::vector<int>& identifiers, 47 const std::vector<int>& identifiers,
48 base::WeakPtr<AutofillPopupDelegate> delegate)); 48 base::WeakPtr<AutofillPopupDelegate> delegate));
49 49
50 MOCK_METHOD0(HideAutofillPopup, void()); 50 MOCK_METHOD0(HideAutofillPopup, void());
51 51
52 private: 52 private:
53 TestingPrefServiceSyncable prefs_; 53 TestingPrefServiceSyncable prefs_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(MockAutofillManagerDelegate); 55 DISALLOW_COPY_AND_ASSIGN(MockAutofillManagerDelegate);
56 }; 56 };
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 GURL(chrome::kChromeUIBookmarksURL), content::Referrer(), 149 GURL(chrome::kChromeUIBookmarksURL), content::Referrer(),
150 CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false)); 150 CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false));
151 browser()->OpenURL(content::OpenURLParams( 151 browser()->OpenURL(content::OpenURLParams(
152 GURL(chrome::kChromeUIAboutURL), content::Referrer(), 152 GURL(chrome::kChromeUIAboutURL), content::Referrer(),
153 CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false)); 153 CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false));
154 runner->Run(); 154 runner->Run();
155 nav_entry_committed_callback_.Reset(); 155 nav_entry_committed_callback_.Reset();
156 } 156 }
157 157
158 } // namespace autofill 158 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/autofill/autofill_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698