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

Unified Diff: chrome/browser/ui/webui/settings_utils_win.cc

Issue 1789543003: MD Settings: move AdvancedOptionsUtilities to a settings-accessible place (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/settings_utils_win.cc
diff --git a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc b/chrome/browser/ui/webui/settings_utils_win.cc
similarity index 91%
rename from chrome/browser/ui/webui/options/advanced_options_utils_win.cc
rename to chrome/browser/ui/webui/settings_utils_win.cc
index 7c5c16c1295b64e835cb1aa251aaf1d4eacec774..69bc3c81b3153faf935408fd72fffd2e0f3a03f1 100644
--- a/chrome/browser/ui/webui/options/advanced_options_utils_win.cc
+++ b/chrome/browser/ui/webui/settings_utils_win.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/options/advanced_options_utils.h"
+#include "chrome/browser/ui/webui/settings_utils.h"
#include <windows.h>
#include <cryptuiapi.h>
@@ -23,9 +23,8 @@
#include "ui/views/win/hwnd_util.h"
using content::BrowserThread;
-using content::WebContents;
-namespace options {
+namespace settings_utils {
namespace {
@@ -96,16 +95,14 @@ void OpenConnectionDialogCallback() {
SW_SHOWNORMAL);
}
-void AdvancedOptionsUtilities::ShowNetworkProxySettings(
- WebContents* web_contents) {
+void ShowNetworkProxySettings(content::WebContents* web_contents) {
DCHECK(BrowserThread::IsMessageLoopValid(BrowserThread::FILE));
BrowserThread::PostTask(BrowserThread::FILE,
FROM_HERE,
base::Bind(&OpenConnectionDialogCallback));
}
-void AdvancedOptionsUtilities::ShowManageSSLCertificates(
- WebContents* web_contents) {
+void ShowManageSSLCertificates(content::WebContents* web_contents) {
HWND parent =
views::HWNDForNativeWindow(web_contents->GetTopLevelNativeWindow());
@@ -115,4 +112,4 @@ void AdvancedOptionsUtilities::ShowManageSSLCertificates(
base::Bind(&base::DeletePointer<ManageCertificatesDialog>, dialog));
}
-} // namespace options
+} // namespace settings_utils

Powered by Google App Engine
This is Rietveld 408576698