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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/event_router.cc

Issue 872633008: Migrate (Network)ErrorScreen to ScreenContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 10 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 "chrome/browser/chromeos/extensions/file_manager/event_router.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h"
8 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "base/prefs/pref_change_registrar.h" 11 #include "base/prefs/pref_change_registrar.h"
11 #include "base/prefs/pref_service.h" 12 #include "base/prefs/pref_service.h"
12 #include "base/stl_util.h" 13 #include "base/stl_util.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/sequenced_worker_pool.h" 15 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/values.h" 16 #include "base/values.h"
16 #include "chrome/browser/app_mode/app_mode_utils.h" 17 #include "chrome/browser/app_mode/app_mode_utils.h"
17 #include "chrome/browser/chrome_notification_types.h" 18 #include "chrome/browser/chrome_notification_types.h"
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting( 1047 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting(
1047 const DispatchDirectoryChangeEventImplCallback& callback) { 1048 const DispatchDirectoryChangeEventImplCallback& callback) {
1048 dispatch_directory_change_event_impl_ = callback; 1049 dispatch_directory_change_event_impl_ = callback;
1049 } 1050 }
1050 1051
1051 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() { 1052 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() {
1052 return weak_factory_.GetWeakPtr(); 1053 return weak_factory_.GetWeakPtr();
1053 } 1054 }
1054 1055
1055 } // namespace file_manager 1056 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698