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

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

Issue 2018453002: Remove unused variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove more vars Created 4 years, 7 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
« no previous file with comments | « cc/tiles/tile_manager.cc ('k') | media/mojo/services/mojo_video_decoder.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ARC_ARC_SERVICE_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_SERVICE_LAUNCHER_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SERVICE_LAUNCHER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SERVICE_LAUNCHER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/threading/thread_checker.h"
13 #include "components/arc/arc_service_manager.h" 12 #include "components/arc/arc_service_manager.h"
14 13
15 namespace arc { 14 namespace arc {
16 15
17 // Detects ARC availability and launches ARC bridge service. 16 // Detects ARC availability and launches ARC bridge service.
18 class ArcServiceLauncher { 17 class ArcServiceLauncher {
19 public: 18 public:
20 ArcServiceLauncher(); 19 ArcServiceLauncher();
21 ~ArcServiceLauncher(); 20 ~ArcServiceLauncher();
22 21
23 void Initialize(); 22 void Initialize();
24 void Shutdown(); 23 void Shutdown();
25 24
26 private: 25 private:
27 // DBus callback. 26 // DBus callback.
28 void OnArcAvailable(bool available); 27 void OnArcAvailable(bool available);
29 28
30 base::ThreadChecker thread_checker_;
31 std::unique_ptr<ArcServiceManager> arc_service_manager_; 29 std::unique_ptr<ArcServiceManager> arc_service_manager_;
32 base::WeakPtrFactory<ArcServiceLauncher> weak_factory_; 30 base::WeakPtrFactory<ArcServiceLauncher> weak_factory_;
33 31
34 DISALLOW_COPY_AND_ASSIGN(ArcServiceLauncher); 32 DISALLOW_COPY_AND_ASSIGN(ArcServiceLauncher);
35 }; 33 };
36 34
37 } // namespace arc 35 } // namespace arc
38 36
39 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SERVICE_LAUNCHER_H_ 37 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SERVICE_LAUNCHER_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager.cc ('k') | media/mojo/services/mojo_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698