OLD | NEW |
1 // Copyright (c) 2011 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 #if !defined(OS_CHROMEOS) | 5 #if !defined(OS_CHROMEOS) |
6 | 6 |
7 #include "chrome/browser/ui/webui/options2/advanced_options_utils2.h" | 7 #include "chrome/browser/ui/webui/options2/advanced_options_utils2.h" |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/environment.h" | 10 #include "base/environment.h" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 base::Bind(&ShowLinuxProxyConfigUrl, render_process_id, render_view_id)); | 143 base::Bind(&ShowLinuxProxyConfigUrl, render_process_id, render_view_id)); |
144 } | 144 } |
145 | 145 |
146 } // anonymous namespace | 146 } // anonymous namespace |
147 | 147 |
148 void AdvancedOptionsUtilities::ShowNetworkProxySettings( | 148 void AdvancedOptionsUtilities::ShowNetworkProxySettings( |
149 WebContents* web_contents) { | 149 WebContents* web_contents) { |
150 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, | 150 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
151 base::Bind(&DetectAndStartProxyConfigUtil, | 151 base::Bind(&DetectAndStartProxyConfigUtil, |
152 web_contents->GetRenderProcessHost()->GetID(), | 152 web_contents->GetRenderProcessHost()->GetID(), |
153 web_contents->GetRenderViewHost()->routing_id())); | 153 web_contents->GetRenderViewHost()->GetRoutingID())); |
154 } | 154 } |
155 | 155 |
156 } // namespace options2 | 156 } // namespace options2 |
157 | 157 |
158 #endif // !defined(OS_CHROMEOS) | 158 #endif // !defined(OS_CHROMEOS) |
OLD | NEW |