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

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: Removed todo and ask mpcomplete now. 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_proxy_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 NOTREACHED(); 502 NOTREACHED();
502 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD")); 503 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD"));
503 base::KillProcess(render_view_host_->process()->GetHandle(), 504 base::KillProcess(render_view_host_->process()->GetHandle(),
504 ResultCodes::KILLED_BAD_MESSAGE, false); 505 ResultCodes::KILLED_BAD_MESSAGE, false);
505 } 506 }
506 } 507 }
507 508
508 Profile* ExtensionFunctionDispatcher::profile() { 509 Profile* ExtensionFunctionDispatcher::profile() {
509 return profile_; 510 return profile_;
510 } 511 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_proxy_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698