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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 6468002: Implementation of getCurrentProxySettings for proxy settings API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/out/Debug
Patch Set: Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/extensions/extension_function_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 RegisterFunction<RemoveContextMenuFunction>(); 256 RegisterFunction<RemoveContextMenuFunction>();
257 RegisterFunction<RemoveAllContextMenusFunction>(); 257 RegisterFunction<RemoveAllContextMenusFunction>();
258 258
259 // Omnibox. 259 // Omnibox.
260 RegisterFunction<OmniboxSendSuggestionsFunction>(); 260 RegisterFunction<OmniboxSendSuggestionsFunction>();
261 RegisterFunction<OmniboxSetDefaultSuggestionFunction>(); 261 RegisterFunction<OmniboxSetDefaultSuggestionFunction>();
262 262
263 // Proxies. 263 // Proxies.
264 RegisterFunction<UseCustomProxySettingsFunction>(); 264 RegisterFunction<UseCustomProxySettingsFunction>();
265 RegisterFunction<RemoveCustomProxySettingsFunction>(); 265 RegisterFunction<RemoveCustomProxySettingsFunction>();
266 RegisterFunction<GetCurrentProxySettingsFunction>();
266 267
267 // Sidebar. 268 // Sidebar.
268 RegisterFunction<CollapseSidebarFunction>(); 269 RegisterFunction<CollapseSidebarFunction>();
269 RegisterFunction<ExpandSidebarFunction>(); 270 RegisterFunction<ExpandSidebarFunction>();
270 RegisterFunction<GetStateSidebarFunction>(); 271 RegisterFunction<GetStateSidebarFunction>();
271 RegisterFunction<HideSidebarFunction>(); 272 RegisterFunction<HideSidebarFunction>();
272 RegisterFunction<NavigateSidebarFunction>(); 273 RegisterFunction<NavigateSidebarFunction>();
273 RegisterFunction<SetBadgeTextSidebarFunction>(); 274 RegisterFunction<SetBadgeTextSidebarFunction>();
274 RegisterFunction<SetIconSidebarFunction>(); 275 RegisterFunction<SetIconSidebarFunction>();
275 RegisterFunction<SetTitleSidebarFunction>(); 276 RegisterFunction<SetTitleSidebarFunction>();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 NOTREACHED(); 498 NOTREACHED();
498 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD")); 499 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD"));
499 base::KillProcess(render_view_host_->process()->GetHandle(), 500 base::KillProcess(render_view_host_->process()->GetHandle(),
500 ResultCodes::KILLED_BAD_MESSAGE, false); 501 ResultCodes::KILLED_BAD_MESSAGE, false);
501 } 502 }
502 } 503 }
503 504
504 Profile* ExtensionFunctionDispatcher::profile() { 505 Profile* ExtensionFunctionDispatcher::profile() {
505 return profile_; 506 return profile_;
506 } 507 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_proxy_api.h » ('j') | chrome/browser/extensions/extension_proxy_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698