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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 22642011: Request profiles info in BrowserOptions.initializePage to populate the profiles list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: .. Created 7 years, 4 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 unified diff | Download patch
OLDNEW
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_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // the "Use SSL 3.0" checkbox. 221 // the "Use SSL 3.0" checkbox.
222 void HandleUseSSL3Checkbox(const ListValue* args); 222 void HandleUseSSL3Checkbox(const ListValue* args);
223 223
224 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles 224 // Callback for the "Use TLS 1.0" checkbox. This is called if the user toggles
225 // the "Use TLS 1.0" checkbox. 225 // the "Use TLS 1.0" checkbox.
226 void HandleUseTLS1Checkbox(const ListValue* args); 226 void HandleUseTLS1Checkbox(const ListValue* args);
227 227
228 // Callback for the "restartBrowser" message. Restores all tabs on restart. 228 // Callback for the "restartBrowser" message. Restores all tabs on restart.
229 void HandleRestartBrowser(const ListValue* args); 229 void HandleRestartBrowser(const ListValue* args);
230 230
231 // Callback for "requestProfilesInfo" message.
232 void HandleRequestProfilesInfo(const ListValue* args);
233
231 #if !defined(OS_CHROMEOS) 234 #if !defined(OS_CHROMEOS)
232 // Callback for the "showNetworkProxySettings" message. This will invoke 235 // Callback for the "showNetworkProxySettings" message. This will invoke
233 // an appropriate dialog for configuring proxy settings. 236 // an appropriate dialog for configuring proxy settings.
234 void ShowNetworkProxySettings(const ListValue* args); 237 void ShowNetworkProxySettings(const ListValue* args);
235 #endif 238 #endif
236 239
237 #if !defined(USE_NSS) 240 #if !defined(USE_NSS)
238 // Callback for the "showManageSSLCertificates" message. This will invoke 241 // Callback for the "showManageSSLCertificates" message. This will invoke
239 // an appropriate certificate management action based on the platform. 242 // an appropriate certificate management action based on the platform.
240 void ShowManageSSLCertificates(const ListValue* args); 243 void ShowManageSSLCertificates(const ListValue* args);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 PrefChangeRegistrar profile_pref_registrar_; 349 PrefChangeRegistrar profile_pref_registrar_;
347 350
348 scoped_ptr<ManagedUserRegistrationUtility> managed_user_registration_utility_; 351 scoped_ptr<ManagedUserRegistrationUtility> managed_user_registration_utility_;
349 352
350 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 353 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
351 }; 354 };
352 355
353 } // namespace options 356 } // namespace options
354 357
355 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 358 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698