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

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

Issue 7826037: Adding support to retrieve remaining and total space on disk/file shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a Created 9 years, 3 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
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 RegisterFunction<GetFileTasksFileBrowserFunction>(); 376 RegisterFunction<GetFileTasksFileBrowserFunction>();
377 RegisterFunction<GetVolumeMetadataFunction>(); 377 RegisterFunction<GetVolumeMetadataFunction>();
378 RegisterFunction<RequestLocalFileSystemFunction>(); 378 RegisterFunction<RequestLocalFileSystemFunction>();
379 RegisterFunction<AddFileWatchBrowserFunction>(); 379 RegisterFunction<AddFileWatchBrowserFunction>();
380 RegisterFunction<RemoveFileWatchBrowserFunction>(); 380 RegisterFunction<RemoveFileWatchBrowserFunction>();
381 RegisterFunction<SelectFileFunction>(); 381 RegisterFunction<SelectFileFunction>();
382 RegisterFunction<SelectFilesFunction>(); 382 RegisterFunction<SelectFilesFunction>();
383 RegisterFunction<AddMountFunction>(); 383 RegisterFunction<AddMountFunction>();
384 RegisterFunction<RemoveMountFunction>(); 384 RegisterFunction<RemoveMountFunction>();
385 RegisterFunction<GetMountPointsFunction>(); 385 RegisterFunction<GetMountPointsFunction>();
386 RegisterFunction<GetSizeStatsFunction>();
386 RegisterFunction<FormatDeviceFunction>(); 387 RegisterFunction<FormatDeviceFunction>();
387 RegisterFunction<ViewFilesFunction>(); 388 RegisterFunction<ViewFilesFunction>();
388 389
389 // Mediaplayer 390 // Mediaplayer
390 RegisterFunction<PlayAtMediaplayerFunction>(); 391 RegisterFunction<PlayAtMediaplayerFunction>();
391 RegisterFunction<SetPlaybackErrorMediaplayerFunction>(); 392 RegisterFunction<SetPlaybackErrorMediaplayerFunction>();
392 RegisterFunction<GetPlaylistMediaplayerFunction>(); 393 RegisterFunction<GetPlaylistMediaplayerFunction>();
393 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>(); 394 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>();
394 RegisterFunction<ToggleFullscreenMediaplayerFunction>(); 395 RegisterFunction<ToggleFullscreenMediaplayerFunction>();
395 396
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 return function; 661 return function;
661 } 662 }
662 663
663 // static 664 // static
664 void ExtensionFunctionDispatcher::SendAccessDenied( 665 void ExtensionFunctionDispatcher::SendAccessDenied(
665 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 666 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
666 ipc_sender->Send(new ExtensionMsg_Response( 667 ipc_sender->Send(new ExtensionMsg_Response(
667 routing_id, request_id, false, std::string(), 668 routing_id, request_id, false, std::string(),
668 "Access to extension API denied.")); 669 "Access to extension API denied."));
669 } 670 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_file_browser_private_api.cc ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698