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

Unified Diff: chrome/browser/ui/webui/options2/browser_options_handler2.h

Issue 10139019: [webui settings] send user profiles info earlier during load (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
Index: chrome/browser/ui/webui/options2/browser_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/browser_options_handler2.h b/chrome/browser/ui/webui/options2/browser_options_handler2.h
index cd8c195fc86ccc914fc37c0b35681c37f5983b47..51245f3b2a5887bfee89b2bf88cf7fceb188342f 100644
--- a/chrome/browser/ui/webui/options2/browser_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/browser_options_handler2.h
@@ -125,7 +125,6 @@ class BrowserOptionsHandler
// Loads the possible default search engine list and reports it to the WebUI.
void AddTemplateUrlServiceObserver();
- // Sends an array of Profile objects to javascript.
// Each object is of the form:
// profileInfo = {
// name: "Profile Name",
@@ -133,6 +132,10 @@ class BrowserOptionsHandler
// filePath: "/path/to/profile/data/on/disk",
// isCurrentProfile: false
// };
+ // Caller takes ownership of the pointer.
+ ListValue* GetProfilesInfoList();
+
+ // Sends an array of Profile objects to javascript.
void SendProfilesInfo();
// Asynchronously opens a new browser window to create a new profile.

Powered by Google App Engine
This is Rietveld 408576698