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

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

Issue 9959079: Remove chrome.webstorePrivate.silentlyInstall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_webstore_private_api.h » ('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) 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/bookmarks/bookmark_extension_api.h" 8 #include "chrome/browser/bookmarks/bookmark_extension_api.h"
9 #include "chrome/browser/bookmarks/bookmark_manager_extension_api.h" 9 #include "chrome/browser/bookmarks/bookmark_manager_extension_api.h"
10 #include "chrome/browser/download/download_extension_api.h" 10 #include "chrome/browser/download/download_extension_api.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 RegisterFunction<IsAllowedIncognitoAccessFunction>(); 318 RegisterFunction<IsAllowedIncognitoAccessFunction>();
319 RegisterFunction<IsAllowedFileSchemeAccessFunction>(); 319 RegisterFunction<IsAllowedFileSchemeAccessFunction>();
320 320
321 // WebstorePrivate. 321 // WebstorePrivate.
322 RegisterFunction<GetBrowserLoginFunction>(); 322 RegisterFunction<GetBrowserLoginFunction>();
323 RegisterFunction<GetStoreLoginFunction>(); 323 RegisterFunction<GetStoreLoginFunction>();
324 RegisterFunction<SetStoreLoginFunction>(); 324 RegisterFunction<SetStoreLoginFunction>();
325 RegisterFunction<InstallBundleFunction>(); 325 RegisterFunction<InstallBundleFunction>();
326 RegisterFunction<BeginInstallWithManifestFunction>(); 326 RegisterFunction<BeginInstallWithManifestFunction>();
327 RegisterFunction<CompleteInstallFunction>(); 327 RegisterFunction<CompleteInstallFunction>();
328 RegisterFunction<SilentlyInstallFunction>();
329 RegisterFunction<GetWebGLStatusFunction>(); 328 RegisterFunction<GetWebGLStatusFunction>();
330 329
331 // WebNavigation. 330 // WebNavigation.
332 RegisterFunction<GetFrameFunction>(); 331 RegisterFunction<GetFrameFunction>();
333 RegisterFunction<GetAllFramesFunction>(); 332 RegisterFunction<GetAllFramesFunction>();
334 333
335 // WebRequest. 334 // WebRequest.
336 RegisterFunction<WebRequestAddEventListener>(); 335 RegisterFunction<WebRequestAddEventListener>();
337 RegisterFunction<WebRequestEventHandled>(); 336 RegisterFunction<WebRequestEventHandled>();
338 RegisterFunction<WebRequestHandlerBehaviorChanged>(); 337 RegisterFunction<WebRequestHandlerBehaviorChanged>();
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 } 526 }
528 527
529 ExtensionFunction* ExtensionFunctionRegistry::NewFunction( 528 ExtensionFunction* ExtensionFunctionRegistry::NewFunction(
530 const std::string& name) { 529 const std::string& name) {
531 FactoryMap::iterator iter = factories_.find(name); 530 FactoryMap::iterator iter = factories_.find(name);
532 DCHECK(iter != factories_.end()); 531 DCHECK(iter != factories_.end());
533 ExtensionFunction* function = iter->second(); 532 ExtensionFunction* function = iter->second();
534 function->set_name(name); 533 function->set_name(name);
535 return function; 534 return function;
536 } 535 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webstore_private_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698