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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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/common/system/chromeos/bluetooth/bluetooth_notification_controller .h" 5 #include "ash/system/bluetooth/bluetooth_notification_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/common/system/system_notifier.h"
11 #include "ash/resources/grit/ash_resources.h" 10 #include "ash/resources/grit/ash_resources.h"
12 #include "ash/strings/grit/ash_strings.h" 11 #include "ash/strings/grit/ash_strings.h"
12 #include "ash/system/system_notifier.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "device/bluetooth/bluetooth_adapter_factory.h" 18 #include "device/bluetooth/bluetooth_adapter_factory.h"
19 #include "device/bluetooth/bluetooth_device.h" 19 #include "device/bluetooth/bluetooth_device.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
21 #include "ui/base/resource/resource_bundle.h" 21 #include "ui/base/resource/resource_bundle.h"
22 #include "ui/message_center/message_center.h" 22 #include "ui/message_center/message_center.h"
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 bundle.GetImageNamed(IDR_AURA_NOTIFICATION_BLUETOOTH), 325 bundle.GetImageNamed(IDR_AURA_NOTIFICATION_BLUETOOTH),
326 base::string16() /* display source */, GURL(), 326 base::string16() /* display source */, GURL(),
327 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT, 327 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
328 system_notifier::kNotifierBluetooth), 328 system_notifier::kNotifierBluetooth),
329 optional, NULL)); 329 optional, NULL));
330 message_center::MessageCenter::Get()->AddNotification( 330 message_center::MessageCenter::Get()->AddNotification(
331 std::move(notification)); 331 std::move(notification));
332 } 332 }
333 333
334 } // namespace ash 334 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/bluetooth/bluetooth_notification_controller.h ('k') | ash/system/bluetooth/bluetooth_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698