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

Side by Side Diff: chrome/browser/notifications/notifications_interactive_uitest.cc

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/nacl_host/nacl_broker_service_win.cc ('k') | chrome/browser/page_info_model.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/common/chrome_switches.h"
6 #include "chrome/test/automation/browser_proxy.h" 5 #include "chrome/test/automation/browser_proxy.h"
7 #include "chrome/test/automation/tab_proxy.h" 6 #include "chrome/test/automation/tab_proxy.h"
8 #include "chrome/test/ui/ui_test.h" 7 #include "chrome/test/ui/ui_test.h"
9 #include "net/base/net_util.h" 8 #include "net/base/net_util.h"
10 #include "net/test/test_server.h" 9 #include "net/test/test_server.h"
11 10
12 class NotificationsPermissionTest : public UITest { 11 class NotificationsPermissionTest : public UITest {
13 public: 12 public:
14 NotificationsPermissionTest() { 13 NotificationsPermissionTest() {
15 dom_automation_enabled_ = true; 14 dom_automation_enabled_ = true;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // in no infobar. 58 // in no infobar.
60 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, 59 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS,
61 tab->NavigateToURL(test_server.GetURL( 60 tab->NavigateToURL(test_server.GetURL(
62 "files/notifications/notifications_request_inline.html"))); 61 "files/notifications/notifications_request_inline.html")));
63 WaitUntilTabCount(1); 62 WaitUntilTabCount(1);
64 63
65 int info_bar_count; 64 int info_bar_count;
66 ASSERT_TRUE(tab->GetInfoBarCount(&info_bar_count)); 65 ASSERT_TRUE(tab->GetInfoBarCount(&info_bar_count));
67 EXPECT_EQ(0, info_bar_count); 66 EXPECT_EQ(0, info_bar_count);
68 } 67 }
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_broker_service_win.cc ('k') | chrome/browser/page_info_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698