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

Side by Side Diff: chrome/browser/chromeos/login/test/app_window_waiter.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 11 matching lines...) Expand all
22 // Use a new instance for each use, one instance will only work for one Wait. 22 // Use a new instance for each use, one instance will only work for one Wait.
23 class AppWindowWaiter : public extensions::AppWindowRegistry::Observer { 23 class AppWindowWaiter : public extensions::AppWindowRegistry::Observer {
24 public: 24 public:
25 AppWindowWaiter(extensions::AppWindowRegistry* registry, 25 AppWindowWaiter(extensions::AppWindowRegistry* registry,
26 const std::string& app_id); 26 const std::string& app_id);
27 virtual ~AppWindowWaiter(); 27 virtual ~AppWindowWaiter();
28 28
29 extensions::AppWindow* Wait(); 29 extensions::AppWindow* Wait();
30 30
31 // AppWindowRegistry::Observer: 31 // AppWindowRegistry::Observer:
32 virtual void OnAppWindowAdded(extensions::AppWindow* app_window) OVERRIDE; 32 virtual void OnAppWindowAdded(extensions::AppWindow* app_window) override;
33 33
34 private: 34 private:
35 extensions::AppWindowRegistry* registry_; 35 extensions::AppWindowRegistry* registry_;
36 std::string app_id_; 36 std::string app_id_;
37 base::RunLoop run_loop_; 37 base::RunLoop run_loop_;
38 extensions::AppWindow* window_; 38 extensions::AppWindow* window_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(AppWindowWaiter); 40 DISALLOW_COPY_AND_ASSIGN(AppWindowWaiter);
41 }; 41 };
42 42
43 } // namespace chromeos 43 } // namespace chromeos
44 44
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_ 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_APP_WINDOW_WAITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698