| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_registry.h" | 5 #include "chrome/browser/extensions/extension_function_registry.h" |
| 6 | 6 |
| 7 #include "chrome/browser/accessibility/accessibility_extension_api.h" | 7 #include "chrome/browser/accessibility/accessibility_extension_api.h" |
| 8 #include "chrome/browser/extensions/api/app/app_api.h" | 8 #include "chrome/browser/extensions/api/app/app_api.h" |
| 9 #include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manage
r_private_api.h" | 9 #include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manage
r_private_api.h" |
| 10 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h" | 10 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 RegisterFunction<WallpaperSetCustomWallpaperFunction>(); | 178 RegisterFunction<WallpaperSetCustomWallpaperFunction>(); |
| 179 RegisterFunction<WallpaperMinimizeInactiveWindowsFunction>(); | 179 RegisterFunction<WallpaperMinimizeInactiveWindowsFunction>(); |
| 180 RegisterFunction<WallpaperRestoreMinimizedWindowsFunction>(); | 180 RegisterFunction<WallpaperRestoreMinimizedWindowsFunction>(); |
| 181 RegisterFunction<WallpaperGetThumbnailFunction>(); | 181 RegisterFunction<WallpaperGetThumbnailFunction>(); |
| 182 RegisterFunction<WallpaperSaveThumbnailFunction>(); | 182 RegisterFunction<WallpaperSaveThumbnailFunction>(); |
| 183 RegisterFunction<WallpaperGetOfflineWallpaperListFunction>(); | 183 RegisterFunction<WallpaperGetOfflineWallpaperListFunction>(); |
| 184 | 184 |
| 185 // Echo | 185 // Echo |
| 186 RegisterFunction<GetRegistrationCodeFunction>(); | 186 RegisterFunction<GetRegistrationCodeFunction>(); |
| 187 RegisterFunction<GetOobeTimestampFunction>(); | 187 RegisterFunction<GetOobeTimestampFunction>(); |
| 188 RegisterFunction<AllowRedeemOffersFunction>(); |
| 188 | 189 |
| 189 // Terminal | 190 // Terminal |
| 190 RegisterFunction<OpenTerminalProcessFunction>(); | 191 RegisterFunction<OpenTerminalProcessFunction>(); |
| 191 RegisterFunction<SendInputToTerminalProcessFunction>(); | 192 RegisterFunction<SendInputToTerminalProcessFunction>(); |
| 192 RegisterFunction<CloseTerminalProcessFunction>(); | 193 RegisterFunction<CloseTerminalProcessFunction>(); |
| 193 RegisterFunction<OnTerminalResizeFunction>(); | 194 RegisterFunction<OnTerminalResizeFunction>(); |
| 194 #endif | 195 #endif |
| 195 | 196 |
| 196 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS. | 197 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS. |
| 197 RegisterFunction< | 198 RegisterFunction< |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 251 |
| 251 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry() | 252 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry() |
| 252 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) { | 253 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) { |
| 253 } | 254 } |
| 254 | 255 |
| 255 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry( | 256 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry( |
| 256 ExtensionFunctionFactory factory, | 257 ExtensionFunctionFactory factory, |
| 257 extensions::functions::HistogramValue histogram_value) | 258 extensions::functions::HistogramValue histogram_value) |
| 258 : factory_(factory), histogram_value_(histogram_value) { | 259 : factory_(factory), histogram_value_(histogram_value) { |
| 259 } | 260 } |
| OLD | NEW |