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

Side by Side Diff: chrome/browser/chromeos/arc/arc_session_manager_data_removed_waiter.h

Issue 2561023002: arc: ARC loading progress should not be shown when started from OOBE. (Closed)
Patch Set: refactored Created 3 years, 10 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
hidehiko 2017/01/30 10:12:35 Could you mkdir c/b/c/arc/test directory, and put
khmel 2017/01/31 02:47:08 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_DATA_REMOVED_WAITER_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_DATA_REMOVED_WAITER_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "chrome/browser/chromeos/arc/arc_session_manager.h"
12
13 namespace base {
14 class RunLoop;
15 }
16
17 namespace arc {
18
19 // Waits for ARC data has been removed.
20 class ArcSessionManagerDataRemovedWaiter : public ArcSessionManager::Observer {
hidehiko 2017/01/30 10:12:35 Optional: the name looks long now. How about ArcDa
khmel 2017/01/31 02:47:08 Done.
21 public:
22 ArcSessionManagerDataRemovedWaiter();
23 ~ArcSessionManagerDataRemovedWaiter() override;
24
25 void Wait();
hidehiko 2017/01/30 10:12:35 Could you document?
khmel 2017/01/31 02:47:08 Done.
26
27 // ArcSessionManager::Observer:
28 void OnArcDataRemoved() override;
29
30 private:
31 std::unique_ptr<base::RunLoop> run_loop_;
32
33 DISALLOW_COPY_AND_ASSIGN(ArcSessionManagerDataRemovedWaiter);
34 };
35
36 } // namespace arc
37
38 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SESSION_MANAGER_DATA_REMOVED_WAITER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698