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

Side by Side Diff: chrome/browser/ui/ash/app_sync_ui_state.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 (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/ui/ash/app_sync_ui_state.h" 5 #include "chrome/browser/ui/ash/app_sync_ui_state.h"
6 6
7 #include "base/prefs/pref_service.h"
8 #include "build/build_config.h" 7 #include "build/build_config.h"
9 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/pending_extension_manager.h" 9 #include "chrome/browser/extensions/pending_extension_manager.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/sync/profile_sync_service_factory.h" 11 #include "chrome/browser/sync/profile_sync_service_factory.h"
13 #include "chrome/browser/ui/ash/app_sync_ui_state_factory.h" 12 #include "chrome/browser/ui/ash/app_sync_ui_state_factory.h"
14 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" 13 #include "chrome/browser/ui/ash/app_sync_ui_state_observer.h"
15 #include "components/browser_sync/browser/profile_sync_service.h" 14 #include "components/browser_sync/browser/profile_sync_service.h"
15 #include "components/prefs/pref_service.h"
16 #include "extensions/browser/extension_registry.h" 16 #include "extensions/browser/extension_registry.h"
17 #include "extensions/browser/extension_system.h" 17 #include "extensions/browser/extension_system.h"
18 18
19 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
20 #include "components/user_manager/user_manager.h" 20 #include "components/user_manager/user_manager.h"
21 #endif 21 #endif
22 22
23 namespace { 23 namespace {
24 24
25 // Max loading animation time in milliseconds. 25 // Max loading animation time in milliseconds.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void AppSyncUIState::OnStateChanged() { 143 void AppSyncUIState::OnStateChanged() {
144 DCHECK(sync_service_); 144 DCHECK(sync_service_);
145 CheckAppSync(); 145 CheckAppSync();
146 } 146 }
147 147
148 void AppSyncUIState::OnExtensionLoaded(content::BrowserContext* browser_context, 148 void AppSyncUIState::OnExtensionLoaded(content::BrowserContext* browser_context,
149 const extensions::Extension* extension) { 149 const extensions::Extension* extension) {
150 CheckAppSync(); 150 CheckAppSync();
151 } 151 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile_store.cc ('k') | chrome/browser/ui/ash/chrome_screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698