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

Side by Side Diff: ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc

Issue 2072013002: mash: Move tray settings and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo 'git cl format' and nullptr changes. Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/bluetooth/bluetooth_notification_controller.h" 5 #include "ash/system/chromeos/bluetooth/bluetooth_notification_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/system/system_notifier.h" 10 #include "ash/common/system/system_notifier.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "device/bluetooth/bluetooth_adapter_factory.h" 16 #include "device/bluetooth/bluetooth_adapter_factory.h"
17 #include "device/bluetooth/bluetooth_device.h" 17 #include "device/bluetooth/bluetooth_device.h"
18 #include "grit/ash_resources.h" 18 #include "grit/ash_resources.h"
19 #include "grit/ash_strings.h" 19 #include "grit/ash_strings.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 bundle.GetImageNamed(IDR_AURA_NOTIFICATION_BLUETOOTH), 338 bundle.GetImageNamed(IDR_AURA_NOTIFICATION_BLUETOOTH),
339 base::string16() /* display source */, GURL(), 339 base::string16() /* display source */, GURL(),
340 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT, 340 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
341 system_notifier::kNotifierBluetooth), 341 system_notifier::kNotifierBluetooth),
342 optional, NULL)); 342 optional, NULL));
343 message_center::MessageCenter::Get()->AddNotification( 343 message_center::MessageCenter::Get()->AddNotification(
344 std::move(notification)); 344 std::move(notification));
345 } 345 }
346 346
347 } // namespace ash 347 } // namespace ash
OLDNEW
« ash/common/DEPS ('K') | « ash/shell.cc ('k') | ash/system/chromeos/devicetype_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698