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

Side by Side Diff: chrome/browser/chromeos/login/session_manager_observer.cc

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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/chromeos/login/session_manager_observer.h" 5 #include "chrome/browser/chromeos/login/session_manager_observer.h"
6 6
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
9 #include "chrome/browser/chromeos/login/signed_settings.h" 8 #include "chrome/browser/chromeos/login/signed_settings.h"
10 #include "chrome/browser/chromeos/login/signed_settings_cache.h" 9 #include "chrome/browser/chromeos/login/signed_settings_cache.h"
11 #include "chrome/common/chrome_notification_types.h" 10 #include "chrome/common/chrome_notification_types.h"
11 #include "chromeos/dbus/dbus_thread_manager.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/notification_service.h" 13 #include "content/public/browser/notification_service.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 namespace { 17 namespace {
18 18
19 class StubDelegate 19 class StubDelegate
20 : public SignedSettings::Delegate< 20 : public SignedSettings::Delegate<
21 const enterprise_management::PolicyFetchResponse&> { 21 const enterprise_management::PolicyFetchResponse&> {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 void SessionManagerObserver::PropertyChangeComplete(bool success) { 73 void SessionManagerObserver::PropertyChangeComplete(bool success) {
74 if (success) { 74 if (success) {
75 StubDelegate* stub = new StubDelegate(); // Manages its own lifetime. 75 StubDelegate* stub = new StubDelegate(); // Manages its own lifetime.
76 stub->set_fetcher(SignedSettings::CreateRetrievePolicyOp(stub)); 76 stub->set_fetcher(SignedSettings::CreateRetrievePolicyOp(stub));
77 stub->fetcher()->Execute(); 77 stub->fetcher()->Execute();
78 } 78 }
79 } 79 }
80 80
81 } // namespace chromeos 81 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/session_manager_observer.h ('k') | chrome/browser/chromeos/login/signed_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698