Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1839)

Unified Diff: chrome/browser/user_data_manager.h

Issue 660038: Fix issue 32106 (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/win_util.cc ('k') | chrome/browser/user_data_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/user_data_manager.h
diff --git a/chrome/browser/user_data_manager.h b/chrome/browser/user_data_manager.h
index f7dfe1740e13dcfbd5f55e65c16c8c9652043444..edd63e921ccabfa3aff8e02cfce0d35754c06716 100644
--- a/chrome/browser/user_data_manager.h
+++ b/chrome/browser/user_data_manager.h
@@ -14,6 +14,7 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
+class FilePath;
class MessageLoop;
// Provides an abstraction of profiles on top of the user data directory
@@ -51,6 +52,11 @@ class UserDataManager {
// This function should be called on the file thread.
void GetProfiles(std::vector<std::wstring>* profiles) const;
+ // Creates a shortcut for the given profile name in |folder|.
+ // Returns false if the shortcut creation fails; true otherwise.
+ bool CreateShortcutForProfileInFolder(const FilePath& folder,
+ const std::wstring& profile_name) const;
+
// Creates a desktop shortcut for the given profile name.
// Returns false if the shortcut creation fails; true otherwise.
bool CreateDesktopShortcutForProfile(const std::wstring& profile_name) const;
« no previous file with comments | « app/win_util.cc ('k') | chrome/browser/user_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698