OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/webui/options/manage_profile_handler.h" | 5 #include "chrome/browser/ui/webui/options/manage_profile_handler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 #include "base/prefs/scoped_user_pref_update.h" | 10 #include "base/prefs/scoped_user_pref_update.h" |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 g_browser_process->profile_manager()->profile_shortcut_manager(); | 535 g_browser_process->profile_manager()->profile_shortcut_manager(); |
536 DCHECK(shortcut_manager); | 536 DCHECK(shortcut_manager); |
537 | 537 |
538 shortcut_manager->RemoveProfileShortcuts(profile_file_path); | 538 shortcut_manager->RemoveProfileShortcuts(profile_file_path); |
539 | 539 |
540 // Update the UI buttons. | 540 // Update the UI buttons. |
541 OnHasProfileShortcuts(false); | 541 OnHasProfileShortcuts(false); |
542 } | 542 } |
543 | 543 |
544 void ManageProfileHandler::RefreshGaiaPicture(const base::ListValue* args) { | 544 void ManageProfileHandler::RefreshGaiaPicture(const base::ListValue* args) { |
545 profiles::UpdateGaiaProfilePhotoIfNeeded(Profile::FromWebUI(web_ui())); | 545 profiles::UpdateGaiaProfileInfoIfNeeded(Profile::FromWebUI(web_ui())); |
546 } | 546 } |
547 | 547 |
548 } // namespace options | 548 } // namespace options |
OLD | NEW |