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

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

Issue 12813004: Chromium style checker cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/worker_pool.cc ('k') | chrome/browser/chromeos/extensions/file_browser_event_router.cc » ('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) 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 "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "chrome/browser/ui/browser.h" 6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/browser_tabstrip.h" 7 #include "chrome/browser/ui/browser_tabstrip.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 DISALLOW_COPY_AND_ASSIGN(TestAutofillManager); 65 DISALLOW_COPY_AND_ASSIGN(TestAutofillManager);
66 }; 66 };
67 67
68 // Subclass AutofillExternalDelegate so we can create an 68 // Subclass AutofillExternalDelegate so we can create an
69 // AutofillExternalDelegate instance. 69 // AutofillExternalDelegate instance.
70 class TestAutofillExternalDelegate : public AutofillExternalDelegate { 70 class TestAutofillExternalDelegate : public AutofillExternalDelegate {
71 public: 71 public:
72 TestAutofillExternalDelegate(content::WebContents* web_contents, 72 TestAutofillExternalDelegate(content::WebContents* web_contents,
73 AutofillManager* autofill_manager) 73 AutofillManager* autofill_manager)
74 : AutofillExternalDelegate(web_contents, autofill_manager) {} 74 : AutofillExternalDelegate(web_contents, autofill_manager) {}
75 ~TestAutofillExternalDelegate() {} 75 virtual ~TestAutofillExternalDelegate() {}
76 }; 76 };
77 77
78 } // namespace 78 } // namespace
79 79
80 class AutofillExternalDelegateBrowserTest 80 class AutofillExternalDelegateBrowserTest
81 : public InProcessBrowserTest, 81 : public InProcessBrowserTest,
82 public content::WebContentsObserver { 82 public content::WebContentsObserver {
83 public: 83 public:
84 AutofillExternalDelegateBrowserTest() {} 84 AutofillExternalDelegateBrowserTest() {}
85 virtual ~AutofillExternalDelegateBrowserTest() {} 85 virtual ~AutofillExternalDelegateBrowserTest() {}
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 content::Source<content::NavigationController>( 146 content::Source<content::NavigationController>(
147 &(web_contents_->GetController()))); 147 &(web_contents_->GetController())));
148 browser()->OpenURL(content::OpenURLParams( 148 browser()->OpenURL(content::OpenURLParams(
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 observer.Wait(); 154 observer.Wait();
155 } 155 }
OLDNEW
« no previous file with comments | « cc/worker_pool.cc ('k') | chrome/browser/chromeos/extensions/file_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698