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

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

Issue 3801008: Expands the chrome.experimental.processes extension API. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Idle 186 // Idle
187 RegisterFunction<ExtensionIdleQueryStateFunction>(); 187 RegisterFunction<ExtensionIdleQueryStateFunction>();
188 188
189 // I18N. 189 // I18N.
190 RegisterFunction<GetAcceptLanguagesFunction>(); 190 RegisterFunction<GetAcceptLanguagesFunction>();
191 191
192 // Popup API. 192 // Popup API.
193 RegisterFunction<PopupShowFunction>(); 193 RegisterFunction<PopupShowFunction>();
194 194
195 // Processes. 195 // Processes.
196 RegisterFunction<GetProcessForTabFunction>(); 196 RegisterFunction<GetProcessIdForTabFunction>();
197 197
198 // Metrics. 198 // Metrics.
199 RegisterFunction<MetricsRecordUserActionFunction>(); 199 RegisterFunction<MetricsRecordUserActionFunction>();
200 RegisterFunction<MetricsRecordValueFunction>(); 200 RegisterFunction<MetricsRecordValueFunction>();
201 RegisterFunction<MetricsRecordPercentageFunction>(); 201 RegisterFunction<MetricsRecordPercentageFunction>();
202 RegisterFunction<MetricsRecordCountFunction>(); 202 RegisterFunction<MetricsRecordCountFunction>();
203 RegisterFunction<MetricsRecordSmallCountFunction>(); 203 RegisterFunction<MetricsRecordSmallCountFunction>();
204 RegisterFunction<MetricsRecordMediumCountFunction>(); 204 RegisterFunction<MetricsRecordMediumCountFunction>();
205 RegisterFunction<MetricsRecordTimeFunction>(); 205 RegisterFunction<MetricsRecordTimeFunction>();
206 RegisterFunction<MetricsRecordMediumTimeFunction>(); 206 RegisterFunction<MetricsRecordMediumTimeFunction>();
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 } else { 493 } else {
494 NOTREACHED(); 494 NOTREACHED();
495 base::KillProcess(render_view_host_->process()->GetHandle(), 495 base::KillProcess(render_view_host_->process()->GetHandle(),
496 ResultCodes::KILLED_BAD_MESSAGE, false); 496 ResultCodes::KILLED_BAD_MESSAGE, false);
497 } 497 }
498 } 498 }
499 499
500 Profile* ExtensionFunctionDispatcher::profile() { 500 Profile* ExtensionFunctionDispatcher::profile() {
501 return profile_; 501 return profile_;
502 } 502 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_event_router.cc ('k') | chrome/browser/extensions/extension_processes_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698