OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/chromeos/first_run/drive_first_run_controller.h" | 5 #include "chrome/browser/chromeos/first_run/drive_first_run_controller.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "ash/common/system/tray/system_tray_delegate.h" | |
11 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/system/tray/system_tray_delegate.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/metrics/histogram_macros.h" | 16 #include "base/metrics/histogram_macros.h" |
17 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
20 #include "chrome/browser/background/background_contents.h" | 20 #include "chrome/browser/background/background_contents.h" |
21 #include "chrome/browser/background/background_contents_service.h" | 21 #include "chrome/browser/background/background_contents_service.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 base::UTF8ToUTF16(extension->name()), GURL(), | 469 base::UTF8ToUTF16(extension->name()), GURL(), |
470 message_center::NotifierId(message_center::NotifierId::APPLICATION, | 470 message_center::NotifierId(message_center::NotifierId::APPLICATION, |
471 kDriveHostedAppId), | 471 kDriveHostedAppId), |
472 data, new DriveOfflineNotificationDelegate(profile_))); | 472 data, new DriveOfflineNotificationDelegate(profile_))); |
473 notification->set_priority(message_center::LOW_PRIORITY); | 473 notification->set_priority(message_center::LOW_PRIORITY); |
474 message_center::MessageCenter::Get()->AddNotification( | 474 message_center::MessageCenter::Get()->AddNotification( |
475 std::move(notification)); | 475 std::move(notification)); |
476 } | 476 } |
477 | 477 |
478 } // namespace chromeos | 478 } // namespace chromeos |
OLD | NEW |