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

Side by Side Diff: ash/system/tray/system_tray_delegate.cc

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
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ash/system/tray/system_tray_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 NetworkIconInfo::NetworkIconInfo() 9 NetworkIconInfo::NetworkIconInfo()
10 : connecting(false), 10 : connecting(false),
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() 231 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate()
232 const { 232 const {
233 return nullptr; 233 return nullptr;
234 } 234 }
235 235
236 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const { 236 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const {
237 return nullptr; 237 return nullptr;
238 } 238 }
239 239
240 void SystemTrayDelegate::SetVolumeControlDelegate( 240 void SystemTrayDelegate::SetVolumeControlDelegate(
241 scoped_ptr<VolumeControlDelegate> delegate) { 241 std::unique_ptr<VolumeControlDelegate> delegate) {}
242 }
243 242
244 bool SystemTrayDelegate::GetSessionStartTime( 243 bool SystemTrayDelegate::GetSessionStartTime(
245 base::TimeTicks* session_start_time) { 244 base::TimeTicks* session_start_time) {
246 return false; 245 return false;
247 } 246 }
248 247
249 bool SystemTrayDelegate::GetSessionLengthLimit( 248 bool SystemTrayDelegate::GetSessionLengthLimit(
250 base::TimeDelta* session_length_limit) { 249 base::TimeDelta* session_length_limit) {
251 return false; 250 return false;
252 } 251 }
(...skipping 27 matching lines...) Expand all
280 279
281 void SystemTrayDelegate::ShouldRebootOnShutdown( 280 void SystemTrayDelegate::ShouldRebootOnShutdown(
282 const RebootOnShutdownCallback& callback) { 281 const RebootOnShutdownCallback& callback) {
283 } 282 }
284 283
285 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 284 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
286 return nullptr; 285 return nullptr;
287 } 286 }
288 287
289 } // namespace ash 288 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698