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

Side by Side Diff: chrome/browser/ui/webui/options2/browser_options_handler.cc

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 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 | Annotate | Revision Log
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 #include "chrome/browser/ui/webui/options2/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options2/browser_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 99 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
100 #endif // defined(TOOLKIT_GTK) 100 #endif // defined(TOOLKIT_GTK)
101 101
102 using content::BrowserContext; 102 using content::BrowserContext;
103 using content::BrowserThread; 103 using content::BrowserThread;
104 using content::DownloadManager; 104 using content::DownloadManager;
105 using content::OpenURLParams; 105 using content::OpenURLParams;
106 using content::Referrer; 106 using content::Referrer;
107 using content::UserMetricsAction; 107 using content::UserMetricsAction;
108 108
109 namespace options2 { 109 namespace options {
110 110
111 BrowserOptionsHandler::BrowserOptionsHandler() 111 BrowserOptionsHandler::BrowserOptionsHandler()
112 : template_url_service_(NULL), 112 : template_url_service_(NULL),
113 ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_for_file_(this)), 113 ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_for_file_(this)),
114 ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_for_ui_(this)) { 114 ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_for_ui_(this)) {
115 multiprofile_ = ProfileManager::IsMultipleProfilesEnabled(); 115 multiprofile_ = ProfileManager::IsMultipleProfilesEnabled();
116 #if !defined(OS_MACOSX) 116 #if !defined(OS_MACOSX)
117 default_browser_worker_ = new ShellIntegration::DefaultBrowserWorker(this); 117 default_browser_worker_ = new ShellIntegration::DefaultBrowserWorker(this);
118 #endif 118 #endif
119 #if(!defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN)) 119 #if(!defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN))
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 #endif // !defined(OS_CHROMEOS) 1432 #endif // !defined(OS_CHROMEOS)
1433 } 1433 }
1434 1434
1435 void BrowserOptionsHandler::SetupSSLConfigSettings() { 1435 void BrowserOptionsHandler::SetupSSLConfigSettings() {
1436 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); 1436 base::FundamentalValue checked(rev_checking_enabled_.GetValue());
1437 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); 1437 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged());
1438 web_ui()->CallJavascriptFunction( 1438 web_ui()->CallJavascriptFunction(
1439 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled); 1439 "BrowserOptions.setCheckRevocationCheckboxState", checked, disabled);
1440 } 1440 }
1441 1441
1442 } // namespace options2 1442 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698