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

Side by Side Diff: chromecast/net/connectivity_checker.h

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ 5 #ifndef CHROMECAST_NET_CONNECTIVITY_CHECKER_H_
6 #define CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ 6 #define CHROMECAST_NET_CONNECTIVITY_CHECKER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/observer_list_threadsafe.h" 12 #include "base/observer_list_threadsafe.h"
12 13
13 class GURL; 14 class GURL;
14 15
15 namespace base { 16 namespace base {
16 class SingleThreadTaskRunner; 17 class SingleThreadTaskRunner;
17 } 18 }
18 19
19 namespace chromecast { 20 namespace chromecast {
20 21
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 61
61 const scoped_refptr<base::ObserverListThreadSafe<ConnectivityObserver>> 62 const scoped_refptr<base::ObserverListThreadSafe<ConnectivityObserver>>
62 connectivity_observer_list_; 63 connectivity_observer_list_;
63 64
64 DISALLOW_COPY_AND_ASSIGN(ConnectivityChecker); 65 DISALLOW_COPY_AND_ASSIGN(ConnectivityChecker);
65 }; 66 };
66 67
67 } // namespace chromecast 68 } // namespace chromecast
68 69
69 #endif // CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ 70 #endif // CHROMECAST_NET_CONNECTIVITY_CHECKER_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/test/mock_frame_provider.cc ('k') | chromecast/net/connectivity_checker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698