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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_event_router.cc

Issue 11243002: Move the bits of Prefs where production code has only trivially easy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, fix gypi problem Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_browser_event_router.h" 5 #include "chrome/browser/chromeos/extensions/file_browser_event_router.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/prefs/public/pref_change_registrar.h"
10 #include "base/stl_util.h" 11 #include "base/stl_util.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "chrome/browser/api/prefs/pref_change_registrar.h"
13 #include "chrome/browser/chromeos/cros/cros_library.h" 13 #include "chrome/browser/chromeos/cros/cros_library.h"
14 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" 14 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
15 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" 15 #include "chrome/browser/chromeos/drive/drive_file_system_util.h"
16 #include "chrome/browser/chromeos/drive/drive_system_service.h" 16 #include "chrome/browser/chromeos/drive/drive_system_service.h"
17 #include "chrome/browser/chromeos/extensions/file_browser_notifications.h" 17 #include "chrome/browser/chromeos/extensions/file_browser_notifications.h"
18 #include "chrome/browser/chromeos/extensions/file_manager_util.h" 18 #include "chrome/browser/chromeos/extensions/file_manager_util.h"
19 #include "chrome/browser/chromeos/login/base_login_display_host.h" 19 #include "chrome/browser/chromeos/login/base_login_display_host.h"
20 #include "chrome/browser/chromeos/login/screen_locker.h" 20 #include "chrome/browser/chromeos/login/screen_locker.h"
21 #include "chrome/browser/chromeos/login/user_manager.h" 21 #include "chrome/browser/chromeos/login/user_manager.h"
22 #include "chrome/browser/extensions/event_names.h" 22 #include "chrome/browser/extensions/event_names.h"
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 return scoped_refptr<RefcountedProfileKeyedService>( 875 return scoped_refptr<RefcountedProfileKeyedService>(
876 new FileBrowserEventRouter(profile)); 876 new FileBrowserEventRouter(profile));
877 } 877 }
878 878
879 bool FileBrowserEventRouterFactory::ServiceHasOwnInstanceInIncognito() const { 879 bool FileBrowserEventRouterFactory::ServiceHasOwnInstanceInIncognito() const {
880 // Explicitly and always allow this router in guest login mode. see 880 // Explicitly and always allow this router in guest login mode. see
881 // chrome/browser/profiles/profile_keyed_base_factory.h comment 881 // chrome/browser/profiles/profile_keyed_base_factory.h comment
882 // for the details. 882 // for the details.
883 return true; 883 return true;
884 } 884 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_sync_client.cc ('k') | chrome/browser/chromeos/settings/device_settings_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698