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

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

Issue 8430033: Adds a webstorePrivate method for silently installing extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mihai Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <map> 7 #include <map>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 RegisterFunction<SetUpdateUrlDataFunction>(); 352 RegisterFunction<SetUpdateUrlDataFunction>();
353 RegisterFunction<IsAllowedIncognitoAccessFunction>(); 353 RegisterFunction<IsAllowedIncognitoAccessFunction>();
354 RegisterFunction<IsAllowedFileSchemeAccessFunction>(); 354 RegisterFunction<IsAllowedFileSchemeAccessFunction>();
355 355
356 // WebstorePrivate. 356 // WebstorePrivate.
357 RegisterFunction<GetBrowserLoginFunction>(); 357 RegisterFunction<GetBrowserLoginFunction>();
358 RegisterFunction<GetStoreLoginFunction>(); 358 RegisterFunction<GetStoreLoginFunction>();
359 RegisterFunction<SetStoreLoginFunction>(); 359 RegisterFunction<SetStoreLoginFunction>();
360 RegisterFunction<BeginInstallWithManifestFunction>(); 360 RegisterFunction<BeginInstallWithManifestFunction>();
361 RegisterFunction<CompleteInstallFunction>(); 361 RegisterFunction<CompleteInstallFunction>();
362 RegisterFunction<SilentlyInstallFunction>();
362 363
363 // WebNavigation. 364 // WebNavigation.
364 RegisterFunction<GetFrameFunction>(); 365 RegisterFunction<GetFrameFunction>();
365 RegisterFunction<GetAllFramesFunction>(); 366 RegisterFunction<GetAllFramesFunction>();
366 367
367 // WebRequest. 368 // WebRequest.
368 RegisterFunction<WebRequestAddEventListener>(); 369 RegisterFunction<WebRequestAddEventListener>();
369 RegisterFunction<WebRequestEventHandled>(); 370 RegisterFunction<WebRequestEventHandled>();
370 RegisterFunction<WebRequestHandlerBehaviorChanged>(); 371 RegisterFunction<WebRequestHandlerBehaviorChanged>();
371 372
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 return function; 686 return function;
686 } 687 }
687 688
688 // static 689 // static
689 void ExtensionFunctionDispatcher::SendAccessDenied( 690 void ExtensionFunctionDispatcher::SendAccessDenied(
690 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 691 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
691 ipc_sender->Send(new ExtensionMsg_Response( 692 ipc_sender->Send(new ExtensionMsg_Response(
692 routing_id, request_id, false, std::string(), 693 routing_id, request_id, false, std::string(),
693 "Access to extension API denied.")); 694 "Access to extension API denied."));
694 } 695 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_install_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698