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

Unified Diff: chrome/browser/autofill/autofill_external_delegate_browsertest.cc

Issue 12556002: Always Close the Autofill UI through the same path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disable Test On Linux Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_popup_view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_external_delegate_browsertest.cc
diff --git a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
index c7ed801f05549ff9f109342fd8e0845e00c847bb..b04ec0ff442a551f4493f3a755b11e57a621c5cb 100644
--- a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
+++ b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
@@ -28,6 +28,9 @@ namespace {
class MockAutofillManagerDelegate
: public autofill::TestAutofillManagerDelegate {
public:
+ MockAutofillManagerDelegate() {}
+ virtual ~MockAutofillManagerDelegate() {}
+
virtual PrefService* GetPrefs() { return &prefs_; }
PrefRegistrySyncable* GetPrefRegistry() {
@@ -46,6 +49,8 @@ class MockAutofillManagerDelegate
private:
TestingPrefServiceSyncable prefs_;
+
+ DISALLOW_COPY_AND_ASSIGN(MockAutofillManagerDelegate);
};
// Subclass AutofillManager so we can create AutofillManager instance.
@@ -60,6 +65,8 @@ class TestAutofillManager : public AutofillManager {
DISALLOW_COPY_AND_ASSIGN(TestAutofillManager);
};
+// Subclass AutofillExternalDelegate so we can create an
+// AutofillExternalDelegate instance.
class TestAutofillExternalDelegate : public AutofillExternalDelegate {
public:
TestAutofillExternalDelegate(content::WebContents* web_contents,
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_popup_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698