| 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
|
|
|