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

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

Issue 3029001: When I specified the rlz chrome extension api, I explicitly did not include a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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_rlz_apitest.cc » ('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) 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 "base/process_util.h" 7 #include "base/process_util.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 RegisterFunction<MetricsRecordSmallCountFunction>(); 197 RegisterFunction<MetricsRecordSmallCountFunction>();
198 RegisterFunction<MetricsRecordMediumCountFunction>(); 198 RegisterFunction<MetricsRecordMediumCountFunction>();
199 RegisterFunction<MetricsRecordTimeFunction>(); 199 RegisterFunction<MetricsRecordTimeFunction>();
200 RegisterFunction<MetricsRecordMediumTimeFunction>(); 200 RegisterFunction<MetricsRecordMediumTimeFunction>();
201 RegisterFunction<MetricsRecordLongTimeFunction>(); 201 RegisterFunction<MetricsRecordLongTimeFunction>();
202 202
203 // RLZ. 203 // RLZ.
204 #if defined(OS_WIN) 204 #if defined(OS_WIN)
205 RegisterFunction<RlzRecordProductEventFunction>(); 205 RegisterFunction<RlzRecordProductEventFunction>();
206 RegisterFunction<RlzGetAccessPointRlzFunction>(); 206 RegisterFunction<RlzGetAccessPointRlzFunction>();
207 RegisterFunction<RlzSendFinancialPingFunction>();
207 RegisterFunction<RlzClearProductStateFunction>(); 208 RegisterFunction<RlzClearProductStateFunction>();
208 #endif 209 #endif
209 210
210 // Cookies. 211 // Cookies.
211 RegisterFunction<GetCookieFunction>(); 212 RegisterFunction<GetCookieFunction>();
212 RegisterFunction<GetAllCookiesFunction>(); 213 RegisterFunction<GetAllCookiesFunction>();
213 RegisterFunction<SetCookieFunction>(); 214 RegisterFunction<SetCookieFunction>();
214 RegisterFunction<RemoveCookieFunction>(); 215 RegisterFunction<RemoveCookieFunction>();
215 RegisterFunction<GetAllCookieStoresFunction>(); 216 RegisterFunction<GetAllCookieStoresFunction>();
216 217
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 } else { 435 } else {
435 NOTREACHED(); 436 NOTREACHED();
436 base::KillProcess(render_view_host_->process()->GetHandle(), 437 base::KillProcess(render_view_host_->process()->GetHandle(),
437 ResultCodes::KILLED_BAD_MESSAGE, false); 438 ResultCodes::KILLED_BAD_MESSAGE, false);
438 } 439 }
439 } 440 }
440 441
441 Profile* ExtensionFunctionDispatcher::profile() { 442 Profile* ExtensionFunctionDispatcher::profile() {
442 return profile_; 443 return profile_;
443 } 444 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_rlz_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698