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

Side by Side Diff: chrome/browser/chromeos/first_run/drive_first_run_controller.cc

Issue 2056823002: mash: Move SystemTrayDelegate and dependencies to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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"
10 #include "ash/shell.h" 11 #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.h" 16 #include "base/metrics/histogram.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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 base::UTF8ToUTF16(extension->name()), GURL(), 468 base::UTF8ToUTF16(extension->name()), GURL(),
469 message_center::NotifierId(message_center::NotifierId::APPLICATION, 469 message_center::NotifierId(message_center::NotifierId::APPLICATION,
470 kDriveHostedAppId), 470 kDriveHostedAppId),
471 data, new DriveOfflineNotificationDelegate(profile_))); 471 data, new DriveOfflineNotificationDelegate(profile_)));
472 notification->set_priority(message_center::LOW_PRIORITY); 472 notification->set_priority(message_center::LOW_PRIORITY);
473 message_center::MessageCenter::Get()->AddNotification( 473 message_center::MessageCenter::Get()->AddNotification(
474 std::move(notification)); 474 std::move(notification));
475 } 475 }
476 476
477 } // namespace chromeos 477 } // namespace chromeos
OLDNEW
« no previous file with comments | « ash/wm/system_gesture_event_filter_unittest.cc ('k') | chrome/browser/chromeos/login/signin/merge_session_load_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698