| 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 "chrome/browser/profiles/profile_shortcut_manager.h" | 8 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
| 9 | 9 |
| 10 class BrowserDistribution; | 10 class BrowserDistribution; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 // Gives the profile path of an alternate profile than |profile_path|. | 69 // Gives the profile path of an alternate profile than |profile_path|. |
| 70 // Must only be called when the number profiles is 2. | 70 // Must only be called when the number profiles is 2. |
| 71 base::FilePath GetOtherProfilePath(const base::FilePath& profile_path); | 71 base::FilePath GetOtherProfilePath(const base::FilePath& profile_path); |
| 72 | 72 |
| 73 void CreateOrUpdateShortcutsForProfileAtPath( | 73 void CreateOrUpdateShortcutsForProfileAtPath( |
| 74 const base::FilePath& profile_path, | 74 const base::FilePath& profile_path, |
| 75 CreateOrUpdateMode create_mode, | 75 CreateOrUpdateMode create_mode, |
| 76 NonProfileShortcutAction action); | 76 NonProfileShortcutAction action); |
| 77 void CreateOrUpdateShortcutIconForProfileAtPath( |
| 78 const base::FilePath& profile_path); |
| 77 | 79 |
| 78 ProfileManager* profile_manager_; | 80 ProfileManager* profile_manager_; |
| 79 | 81 |
| 80 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); | 82 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); |
| 81 }; | 83 }; |
| 82 | 84 |
| 83 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ | 85 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ |
| OLD | NEW |