OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #import "base/mac/scoped_nsobject.h" | 7 #import "base/mac/scoped_nsobject.h" |
| 8 #include "base/macros.h" |
8 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "chrome/app/chrome_command_ids.h" | 11 #include "chrome/app/chrome_command_ids.h" |
11 #include "chrome/browser/command_updater.h" | 12 #include "chrome/browser/command_updater.h" |
12 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/browser_command_controller.h" | 14 #include "chrome/browser/ui/browser_command_controller.h" |
14 #include "chrome/browser/ui/browser_commands.h" | 15 #include "chrome/browser/ui/browser_commands.h" |
15 #include "chrome/browser/ui/browser_list.h" | 16 #include "chrome/browser/ui/browser_list.h" |
16 #include "chrome/browser/ui/browser_list_observer.h" | 17 #include "chrome/browser/ui/browser_list_observer.h" |
17 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 18 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 void WaitUntilBrowserRemoved() { run_loop_.Run(); } | 393 void WaitUntilBrowserRemoved() { run_loop_.Run(); } |
393 void OnBrowserRemoved(Browser* browser) override { run_loop_.Quit(); } | 394 void OnBrowserRemoved(Browser* browser) override { run_loop_.Quit(); } |
394 | 395 |
395 private: | 396 private: |
396 base::RunLoop run_loop_; | 397 base::RunLoop run_loop_; |
397 | 398 |
398 DISALLOW_COPY_AND_ASSIGN(BrowserRemovedObserver); | 399 DISALLOW_COPY_AND_ASSIGN(BrowserRemovedObserver); |
399 }; | 400 }; |
400 | 401 |
401 } // namespace | 402 } // namespace |
OLD | NEW |