| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |