| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/enterprise_extension_observer.h" | 5 #include "chrome/browser/chromeos/enterprise_extension_observer.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "chrome/browser/chromeos/cros/cros_library.h" | 9 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 BrowserThread::PostTask( | 53 BrowserThread::PostTask( |
| 54 BrowserThread::UI, | 54 BrowserThread::UI, |
| 55 FROM_HERE, | 55 FROM_HERE, |
| 56 base::Bind(&EnterpriseExtensionObserver::NotifyEntd)); | 56 base::Bind(&EnterpriseExtensionObserver::NotifyEntd)); |
| 57 } | 57 } |
| 58 } | 58 } |
| 59 | 59 |
| 60 // static | 60 // static |
| 61 void EnterpriseExtensionObserver::NotifyEntd() { | 61 void EnterpriseExtensionObserver::NotifyEntd() { |
| 62 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 62 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 63 DBusThreadManager::Get()->session_manager_client()->RestartEntd(); | 63 DBusThreadManager::Get()->GetSessionManagerClient()->RestartEntd(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 } // namespace chromeos | 66 } // namespace chromeos |
| OLD | NEW |