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

Side by Side Diff: chrome/browser/ui/browser_navigator_browsertest.h

Issue 6523032: Even more test cleanup. Some fixes to non-test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
7 7
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/common/notification_type.h" 9 #include "chrome/common/notification_type.h"
10 #include "chrome/test/in_process_browser_test.h" 10 #include "chrome/test/in_process_browser_test.h"
(...skipping 18 matching lines...) Expand all
29 29
30 browser::NavigateParams MakeNavigateParams() const; 30 browser::NavigateParams MakeNavigateParams() const;
31 browser::NavigateParams MakeNavigateParams(Browser* browser) const; 31 browser::NavigateParams MakeNavigateParams(Browser* browser) const;
32 32
33 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); 33 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile);
34 34
35 TabContentsWrapper* CreateTabContents(); 35 TabContentsWrapper* CreateTabContents();
36 36
37 void RunSuppressTest(WindowOpenDisposition disposition); 37 void RunSuppressTest(WindowOpenDisposition disposition);
38 38
39 void Observe(NotificationType type, const NotificationSource& source, 39 // NotificationObserver:
40 const NotificationDetails& details); 40 virtual void Observe(NotificationType type, const NotificationSource& source,
41 const NotificationDetails& details);
41 42
42 size_t created_tab_contents_count_; 43 size_t created_tab_contents_count_;
43 }; 44 };
44 45
45 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ 46 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698