OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ | |
6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ | |
7 | |
8 #include "base/file_path.h" | |
9 #include "ui/gfx/image/image.h" | |
10 | |
11 class ProfileShortcutManager { | |
12 public: | |
13 ProfileShortcutManager(); | |
sail
2012/08/14 18:40:41
normally this ordered like this
static
construct
Halli
2012/08/14 20:38:46
Done.
| |
14 static bool IsFeatureEnabled(); | |
15 static ProfileShortcutManager* Create(); | |
16 virtual void CreateChromeDesktopShortcut( | |
17 const FilePath& profile_path, const string16& profile_name, | |
18 const gfx::Image& avatar_image) = 0; | |
19 virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path) = 0; | |
20 ~ProfileShortcutManager(); | |
21 | |
22 private: | |
23 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManager); | |
24 }; | |
25 | |
26 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ | |
OLD | NEW |