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

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

Issue 12147004: Disable/enable echo for enterprise device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update inline comments. Created 7 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
OLDNEW
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 RegisterFunction<WallpaperSetCustomWallpaperFunction>(); 177 RegisterFunction<WallpaperSetCustomWallpaperFunction>();
178 RegisterFunction<WallpaperMinimizeInactiveWindowsFunction>(); 178 RegisterFunction<WallpaperMinimizeInactiveWindowsFunction>();
179 RegisterFunction<WallpaperRestoreMinimizedWindowsFunction>(); 179 RegisterFunction<WallpaperRestoreMinimizedWindowsFunction>();
180 RegisterFunction<WallpaperGetThumbnailFunction>(); 180 RegisterFunction<WallpaperGetThumbnailFunction>();
181 RegisterFunction<WallpaperSaveThumbnailFunction>(); 181 RegisterFunction<WallpaperSaveThumbnailFunction>();
182 RegisterFunction<WallpaperGetOfflineWallpaperListFunction>(); 182 RegisterFunction<WallpaperGetOfflineWallpaperListFunction>();
183 183
184 // Echo 184 // Echo
185 RegisterFunction<GetRegistrationCodeFunction>(); 185 RegisterFunction<GetRegistrationCodeFunction>();
186 RegisterFunction<GetOobeTimestampFunction>(); 186 RegisterFunction<GetOobeTimestampFunction>();
187 RegisterFunction<IsEchoDisabledFunction>();
187 188
188 // Terminal 189 // Terminal
189 RegisterFunction<OpenTerminalProcessFunction>(); 190 RegisterFunction<OpenTerminalProcessFunction>();
190 RegisterFunction<SendInputToTerminalProcessFunction>(); 191 RegisterFunction<SendInputToTerminalProcessFunction>();
191 RegisterFunction<CloseTerminalProcessFunction>(); 192 RegisterFunction<CloseTerminalProcessFunction>();
192 RegisterFunction<OnTerminalResizeFunction>(); 193 RegisterFunction<OnTerminalResizeFunction>();
193 #endif 194 #endif
194 195
195 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS. 196 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS.
196 RegisterFunction< 197 RegisterFunction<
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 250
250 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry() 251 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry()
251 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) { 252 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) {
252 } 253 }
253 254
254 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry( 255 ExtensionFunctionRegistry::FactoryEntry::FactoryEntry(
255 ExtensionFunctionFactory factory, 256 ExtensionFunctionFactory factory,
256 extensions::functions::HistogramValue histogram_value) 257 extensions::functions::HistogramValue histogram_value)
257 : factory_(factory), histogram_value_(histogram_value) { 258 : factory_(factory), histogram_value_(histogram_value) {
258 } 259 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698