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

Side by Side Diff: chrome/renderer/extensions/dispatcher.cc

Issue 50703013: fileSystemProvider: First cut at implementing fileSystemProvider API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 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) 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/renderer/extensions/dispatcher.h" 5 #include "chrome/renderer/extensions/dispatcher.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/alias.h" 9 #include "base/debug/alias.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); 984 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS);
985 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); 985 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS);
986 source_map_.RegisterSource("feedbackPrivate", 986 source_map_.RegisterSource("feedbackPrivate",
987 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS); 987 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS);
988 source_map_.RegisterSource("fileBrowserHandler", 988 source_map_.RegisterSource("fileBrowserHandler",
989 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); 989 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS);
990 source_map_.RegisterSource("fileBrowserPrivate", 990 source_map_.RegisterSource("fileBrowserPrivate",
991 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS); 991 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS);
992 source_map_.RegisterSource("fileSystem", 992 source_map_.RegisterSource("fileSystem",
993 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS); 993 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS);
994 source_map_.RegisterSource("fileSystemProvider",
995 IDR_FILE_SYSTEM_PROVIDER_CUSTOM_BINDINGS_JS);
994 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS); 996 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS);
995 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS); 997 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS);
996 source_map_.RegisterSource("mediaGalleries", 998 source_map_.RegisterSource("mediaGalleries",
997 IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); 999 IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS);
998 source_map_.RegisterSource("notifications", 1000 source_map_.RegisterSource("notifications",
999 IDR_NOTIFICATIONS_CUSTOM_BINDINGS_JS); 1001 IDR_NOTIFICATIONS_CUSTOM_BINDINGS_JS);
1000 source_map_.RegisterSource("omnibox", IDR_OMNIBOX_CUSTOM_BINDINGS_JS); 1002 source_map_.RegisterSource("omnibox", IDR_OMNIBOX_CUSTOM_BINDINGS_JS);
1001 source_map_.RegisterSource("pageActions", 1003 source_map_.RegisterSource("pageActions",
1002 IDR_PAGE_ACTIONS_CUSTOM_BINDINGS_JS); 1004 IDR_PAGE_ACTIONS_CUSTOM_BINDINGS_JS);
1003 source_map_.RegisterSource("pageAction", IDR_PAGE_ACTION_CUSTOM_BINDINGS_JS); 1005 source_map_.RegisterSource("pageAction", IDR_PAGE_ACTION_CUSTOM_BINDINGS_JS);
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 RenderView* background_view = 1632 RenderView* background_view =
1631 ExtensionHelper::GetBackgroundPage(extension_id); 1633 ExtensionHelper::GetBackgroundPage(extension_id);
1632 if (background_view) { 1634 if (background_view) {
1633 background_view->Send(new ExtensionHostMsg_EventAck( 1635 background_view->Send(new ExtensionHostMsg_EventAck(
1634 background_view->GetRoutingID())); 1636 background_view->GetRoutingID()));
1635 } 1637 }
1636 } 1638 }
1637 } 1639 }
1638 1640
1639 } // namespace extensions 1641 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/permissions/permission_set_unittest.cc ('k') | chrome/renderer/extensions/file_system_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698