| OLD | NEW |
| 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/automation/automation_provider_observers.h" | 5 #include "chrome/browser/automation/automation_provider_observers.h" |
| 6 | 6 |
| 7 #include "base/values.h" | 7 #include "base/values.h" |
| 8 #include "chrome/browser/automation/automation_provider.h" | 8 #include "chrome/browser/automation/automation_provider.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" |
| 9 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 10 #include "chrome/browser/chromeos/login/authentication_notification_details.h" | 11 #include "chrome/browser/chromeos/login/authentication_notification_details.h" |
| 11 #include "chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h" | 12 #include "chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h" |
| 12 #include "chrome/browser/chromeos/login/existing_user_controller.h" | 13 #include "chrome/browser/chromeos/login/existing_user_controller.h" |
| 13 #include "chrome/browser/chromeos/login/screen_locker.h" | 14 #include "chrome/browser/chromeos/login/screen_locker.h" |
| 14 #include "chrome/browser/chromeos/login/screens/wizard_screen.h" | 15 #include "chrome/browser/chromeos/login/screens/wizard_screen.h" |
| 15 #include "chrome/browser/chromeos/login/user_image.h" | 16 #include "chrome/browser/chromeos/login/user_image.h" |
| 16 #include "chrome/browser/chromeos/login/user_image_manager.h" | 17 #include "chrome/browser/chromeos/login/user_image_manager.h" |
| 17 #include "chrome/browser/chromeos/login/user_manager.h" | 18 #include "chrome/browser/chromeos/login/user_manager.h" |
| 18 #include "chrome/browser/chromeos/login/wizard_controller.h" | 19 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 19 #include "chrome/common/chrome_notification_types.h" | |
| 20 #include "content/public/browser/notification_service.h" | 20 #include "content/public/browser/notification_service.h" |
| 21 | 21 |
| 22 using chromeos::CrosLibrary; | 22 using chromeos::CrosLibrary; |
| 23 using chromeos::NetworkLibrary; | 23 using chromeos::NetworkLibrary; |
| 24 using chromeos::WizardController; | 24 using chromeos::WizardController; |
| 25 | 25 |
| 26 namespace { | 26 namespace { |
| 27 | 27 |
| 28 // Fake screen name for the user session (reported by WizardControllerObserver). | 28 // Fake screen name for the user session (reported by WizardControllerObserver). |
| 29 const char kSessionScreenName[] = "session"; | 29 const char kSessionScreenName[] = "session"; |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 for (chromeos::VirtualNetworkVector::const_iterator iter = | 419 for (chromeos::VirtualNetworkVector::const_iterator iter = |
| 420 virtual_networks.begin(); iter != virtual_networks.end(); ++iter) { | 420 virtual_networks.begin(); iter != virtual_networks.end(); ++iter) { |
| 421 chromeos::VirtualNetwork* v = *iter; | 421 chromeos::VirtualNetwork* v = *iter; |
| 422 if (v->name() == service_name_) { | 422 if (v->name() == service_name_) { |
| 423 virt = v; | 423 virt = v; |
| 424 break; | 424 break; |
| 425 } | 425 } |
| 426 } | 426 } |
| 427 return virt; | 427 return virt; |
| 428 } | 428 } |
| OLD | NEW |