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

Side by Side Diff: chrome/browser/profiles/avatar_menu_model_browsertest.cc

Issue 18644007: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 7 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/profiles/avatar_menu_model.h" 5 #include "chrome/browser/profiles/avatar_menu_model.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
9 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/browser_list.h" 11 #include "chrome/browser/ui/browser_list.h"
11 #include "chrome/common/chrome_notification_types.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
14 #include "chrome/test/base/testing_browser_process.h" 14 #include "chrome/test/base/testing_browser_process.h"
15 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
16 16
17 namespace { 17 namespace {
18 18
19 typedef InProcessBrowserTest AvatarMenuModelTest; 19 typedef InProcessBrowserTest AvatarMenuModelTest;
20 20
21 IN_PROC_BROWSER_TEST_F(AvatarMenuModelTest, SignOut) { 21 IN_PROC_BROWSER_TEST_F(AvatarMenuModelTest, SignOut) {
(...skipping 17 matching lines...) Expand all
39 EXPECT_FALSE(cache.ProfileIsSigninRequiredAtIndex(index)); 39 EXPECT_FALSE(cache.ProfileIsSigninRequiredAtIndex(index));
40 model.SetLogoutURL("about:blank"); 40 model.SetLogoutURL("about:blank");
41 model.BeginSignOut(); 41 model.BeginSignOut();
42 EXPECT_TRUE(cache.ProfileIsSigninRequiredAtIndex(index)); 42 EXPECT_TRUE(cache.ProfileIsSigninRequiredAtIndex(index));
43 43
44 window_close_observer.Wait(); // rely on test time-out for failure indication 44 window_close_observer.Wait(); // rely on test time-out for failure indication
45 EXPECT_EQ(0U, browser_list->size()); 45 EXPECT_EQ(0U, browser_list->size());
46 } 46 }
47 47
48 } // namespace 48 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.cc ('k') | chrome/browser/profiles/gaia_info_update_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698