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

Side by Side Diff: chrome/browser/ui/ash/cast_config_delegate_media_router.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_
6 #define CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_ 6 #define CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_
7 7
8 #include "ash/cast_config_delegate.h" 8 #include "ash/cast_config_delegate.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 22 matching lines...) Expand all
33 void CastToReceiver(const std::string& receiver_id) override; 33 void CastToReceiver(const std::string& receiver_id) override;
34 void StopCasting(const std::string& route_id) override; 34 void StopCasting(const std::string& route_id) override;
35 bool HasOptions() const override; 35 bool HasOptions() const override;
36 void LaunchCastOptions() override; 36 void LaunchCastOptions() override;
37 void AddObserver(ash::CastConfigDelegate::Observer* observer) override; 37 void AddObserver(ash::CastConfigDelegate::Observer* observer) override;
38 void RemoveObserver(ash::CastConfigDelegate::Observer* observer) override; 38 void RemoveObserver(ash::CastConfigDelegate::Observer* observer) override;
39 39
40 // |devices_| stores the current source/route status that we query from. 40 // |devices_| stores the current source/route status that we query from.
41 // This will return null until the media router is initialized. 41 // This will return null until the media router is initialized.
42 CastDeviceCache* devices(); 42 CastDeviceCache* devices();
43 scoped_ptr<CastDeviceCache> devices_; 43 std::unique_ptr<CastDeviceCache> devices_;
44 44
45 base::ObserverList<ash::CastConfigDelegate::Observer> observer_list_; 45 base::ObserverList<ash::CastConfigDelegate::Observer> observer_list_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(CastConfigDelegateMediaRouter); 47 DISALLOW_COPY_AND_ASSIGN(CastConfigDelegateMediaRouter);
48 }; 48 };
49 49
50 #endif // CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_ 50 #endif // CHROME_BROWSER_UI_ASH_CAST_CONFIG_DELEGATE_MEDIA_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/cast_config_delegate_chromeos.cc ('k') | chrome/browser/ui/ash/chrome_keyboard_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698