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

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

Issue 6272016: Prevent non-Incognito windows in the Guest session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser
Patch Set: merge 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
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
Evan Stade 2011/02/07 19:02:30 year
altimofeev 2011/02/08 14:21:00 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/browser.h"
6 #include "chrome/common/notification_type.h"
7 #include "chrome/test/in_process_browser_test.h"
8
9 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
Evan Stade 2011/02/07 19:02:30 put header guards outside of includes
altimofeev 2011/02/08 14:21:00 Done.
10 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
11
12 class GURL;
13 class NotificationDetails;
14 class NotificationSource;
15 class Profile;
16 class TabContentsWrapper;
17
18 namespace browser {
19 class NavigateParams;
Evan Stade 2011/02/07 19:02:30 nit: no indent in namespaces
altimofeev 2011/02/08 14:21:00 Done.
20 } // namespace browser
21
22 class BrowserNavigatorTest : public InProcessBrowserTest,
Evan Stade 2011/02/07 19:02:30 class comment (who uses this?)
altimofeev 2011/02/08 14:21:00 Done.
23 public NotificationObserver {
24 protected:
25 GURL GetGoogleURL() const;
26
27 browser::NavigateParams MakeNavigateParams() const;
28 browser::NavigateParams MakeNavigateParams(Browser* browser) const;
29
30 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile);
31
32 TabContentsWrapper* CreateTabContents();
33
34 void RunSuppressTest(WindowOpenDisposition disposition);
35
36 void Observe(NotificationType type, const NotificationSource& source,
37 const NotificationDetails& details);
38
39 size_t created_tab_contents_count_;
40 };
41
42 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698