OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/owner_manager.h" | 5 #include "chrome/browser/chromeos/login/owner_manager.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/browser_thread.h" | |
14 #include "chrome/browser/chromeos/boot_times_loader.h" | 13 #include "chrome/browser/chromeos/boot_times_loader.h" |
15 #include "chrome/browser/chromeos/login/signed_settings_temp_storage.h" | 14 #include "chrome/browser/chromeos/login/signed_settings_temp_storage.h" |
16 #include "chrome/common/notification_service.h" | 15 #include "chrome/common/notification_service.h" |
17 #include "chrome/common/notification_type.h" | 16 #include "chrome/common/notification_type.h" |
| 17 #include "content/browser/browser_thread.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 OwnerManager::OwnerManager() | 21 OwnerManager::OwnerManager() |
22 : private_key_(NULL), | 22 : private_key_(NULL), |
23 public_key_(NULL), | 23 public_key_(NULL), |
24 utils_(OwnerKeyUtils::Create()) { | 24 utils_(OwnerKeyUtils::Create()) { |
25 } | 25 } |
26 | 26 |
27 OwnerManager::~OwnerManager() {} | 27 OwnerManager::~OwnerManager() {} |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 void OwnerManager::SendNotification(NotificationType type, | 131 void OwnerManager::SendNotification(NotificationType type, |
132 const NotificationDetails& details) { | 132 const NotificationDetails& details) { |
133 NotificationService::current()->Notify( | 133 NotificationService::current()->Notify( |
134 type, | 134 type, |
135 NotificationService::AllSources(), | 135 NotificationService::AllSources(), |
136 details); | 136 details); |
137 } | 137 } |
138 | 138 |
139 } // namespace chromeos | 139 } // namespace chromeos |
OLD | NEW |