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

Side by Side Diff: ash/cast_config_delegate.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 ASH_CAST_CONFIG_DELEGATE_H_ 5 #ifndef ASH_CAST_CONFIG_DELEGATE_H_
6 #define ASH_CAST_CONFIG_DELEGATE_H_ 6 #define ASH_CAST_CONFIG_DELEGATE_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "ash/ash_export.h" 12 #include "ash/ash_export.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 // This delegate allows the UI code in ash, e.g. |TrayCastDetailedView|, 19 // This delegate allows the UI code in ash, e.g. |TrayCastDetailedView|,
20 // to access the cast extension. 20 // to access the cast extension.
21 class CastConfigDelegate { 21 class CastConfigDelegate {
22 public: 22 public:
23 struct ASH_EXPORT Receiver { 23 struct ASH_EXPORT Receiver {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void AddObserver(Observer* observer) = 0; 115 virtual void AddObserver(Observer* observer) = 0;
116 virtual void RemoveObserver(Observer* observer) = 0; 116 virtual void RemoveObserver(Observer* observer) = 0;
117 117
118 private: 118 private:
119 DISALLOW_ASSIGN(CastConfigDelegate); 119 DISALLOW_ASSIGN(CastConfigDelegate);
120 }; 120 };
121 121
122 } // namespace ash 122 } // namespace ash
123 123
124 #endif // ASH_CAST_CONFIG_DELEGATE_H_ 124 #endif // ASH_CAST_CONFIG_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/autoclick/autoclick_unittest.cc ('k') | ash/content/display/screen_orientation_controller_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698