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

Unified Diff: apps/shell/browser/shell_extensions_browser_client.cc

Issue 183893041: Move sockets APIs out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: little things Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | apps/shell/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_extensions_browser_client.cc
diff --git a/apps/shell/browser/shell_extensions_browser_client.cc b/apps/shell/browser/shell_extensions_browser_client.cc
index 8089b5e8cb63d11ac8e0275caa8c0f318c85956d..d6f2e5ec331721028848c9cfc618726dbc43085c 100644
--- a/apps/shell/browser/shell_extensions_browser_client.cc
+++ b/apps/shell/browser/shell_extensions_browser_client.cc
@@ -14,6 +14,7 @@
#include "components/user_prefs/user_prefs.h"
#include "extensions/browser/app_sorting.h"
#include "extensions/browser/extension_prefs.h"
+#include "extensions/common/api/generated_api.h"
using content::BrowserContext;
@@ -157,8 +158,9 @@ ShellExtensionsBrowserClient::GetExtensionSystemFactory() {
void ShellExtensionsBrowserClient::RegisterExtensionFunctions(
ExtensionFunctionRegistry* registry) const {
- // TODO(rockot): Remove this once we have enough APIs moved out of src/chrome
- // See http://crbug.com/349042
+ extensions::core_api::GeneratedFunctionRegistry::RegisterAll(registry);
Yoyo Zhou 2014/03/06 23:50:08 I agree, it's not ideally named right now. But I d
Ken Rockot(use gerrit already) 2014/03/07 00:06:36 Great, I think we have a quorum on this. Bug filed
+ // TODO(rockot): Remove dependency on src/chrome once we have some core APIs
+ // moved out. See http://crbug.com/349042.
extensions::api::GeneratedFunctionRegistry::RegisterAll(registry);
}
« no previous file with comments | « no previous file | apps/shell/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698