| 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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 9 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual void CreateOrUpdateProfileIcon( | 56 virtual void CreateOrUpdateProfileIcon( |
| 57 const base::FilePath& profile_path) OVERRIDE; | 57 const base::FilePath& profile_path) OVERRIDE; |
| 58 virtual void CreateProfileShortcut( | 58 virtual void CreateProfileShortcut( |
| 59 const base::FilePath& profile_path) OVERRIDE; | 59 const base::FilePath& profile_path) OVERRIDE; |
| 60 virtual void RemoveProfileShortcuts( | 60 virtual void RemoveProfileShortcuts( |
| 61 const base::FilePath& profile_path) OVERRIDE; | 61 const base::FilePath& profile_path) OVERRIDE; |
| 62 virtual void HasProfileShortcuts( | 62 virtual void HasProfileShortcuts( |
| 63 const base::FilePath& profile_path, | 63 const base::FilePath& profile_path, |
| 64 const base::Callback<void(bool)>& callback) OVERRIDE; | 64 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 65 virtual void GetShortcutProperties(const base::FilePath& profile_path, | 65 virtual void GetShortcutProperties(const base::FilePath& profile_path, |
| 66 CommandLine* command_line, | 66 base::CommandLine* command_line, |
| 67 base::string16* name, | 67 base::string16* name, |
| 68 base::FilePath* icon_path) OVERRIDE; | 68 base::FilePath* icon_path) OVERRIDE; |
| 69 | 69 |
| 70 // ProfileInfoCacheObserver implementation: | 70 // ProfileInfoCacheObserver implementation: |
| 71 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; | 71 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; |
| 72 virtual void OnProfileWasRemoved( | 72 virtual void OnProfileWasRemoved( |
| 73 const base::FilePath& profile_path, | 73 const base::FilePath& profile_path, |
| 74 const base::string16& profile_name) OVERRIDE; | 74 const base::string16& profile_name) OVERRIDE; |
| 75 virtual void OnProfileNameChanged( | 75 virtual void OnProfileNameChanged( |
| 76 const base::FilePath& profile_path, | 76 const base::FilePath& profile_path, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 97 NonProfileShortcutAction action); | 97 NonProfileShortcutAction action); |
| 98 | 98 |
| 99 ProfileManager* profile_manager_; | 99 ProfileManager* profile_manager_; |
| 100 | 100 |
| 101 content::NotificationRegistrar registrar_; | 101 content::NotificationRegistrar registrar_; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); | 103 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ | 106 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ |
| OLD | NEW |