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

Side by Side Diff: chrome/browser/chromeos/usb_mount_observer_browsertest.cc

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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/chromeos/update_browsertest.cc ('k') | chrome/browser/chromeos/volume_bubble.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 "base/ref_counted.h" 5 #include "base/ref_counted.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/browser_list.h" 7 #include "chrome/browser/browser_list.h"
9 #include "chrome/browser/chromeos/cros/mock_mount_library.h" 8 #include "chrome/browser/chromeos/cros/mock_mount_library.h"
10 #include "chrome/browser/chromeos/usb_mount_observer.h" 9 #include "chrome/browser/chromeos/usb_mount_observer.h"
11 #include "chrome/browser/dom_ui/mediaplayer_ui.h" 10 #include "chrome/browser/dom_ui/mediaplayer_ui.h"
12 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
14 #include "chrome/test/automation/dom_element_proxy.h" 14 #include "chrome/test/automation/dom_element_proxy.h"
15 #include "chrome/test/in_process_browser_test.h" 15 #include "chrome/test/in_process_browser_test.h"
16 #include "chrome/test/ui_test_utils.h" 16 #include "chrome/test/ui_test_utils.h"
17 17
18 namespace { 18 namespace {
19 19
20 class USBMountObserverBrowserTest : public InProcessBrowserTest { 20 class USBMountObserverBrowserTest : public InProcessBrowserTest {
21 public: 21 public:
22 USBMountObserverBrowserTest() {} 22 USBMountObserverBrowserTest() {}
(...skipping 25 matching lines...) Expand all
48 lib->AddObserver(observe); 48 lib->AddObserver(observe);
49 // Check that its not currently visible 49 // Check that its not currently visible
50 EXPECT_FALSE(IsFilebrowserVisible()); 50 EXPECT_FALSE(IsFilebrowserVisible());
51 51
52 lib->FireDeviceInsertEvents(); 52 lib->FireDeviceInsertEvents();
53 53
54 EXPECT_TRUE(IsFilebrowserVisible()); 54 EXPECT_TRUE(IsFilebrowserVisible());
55 } 55 }
56 56
57 } 57 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/update_browsertest.cc ('k') | chrome/browser/chromeos/volume_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698