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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 8662008: Implement chrome.systemPrivate.getIncognitoModeAvailability extension API function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged with ToT Created 9 years 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 | chrome/browser/extensions/extension_preference_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index f1134c46e29bf2b024e4e84b772c73503ec3e0bb..c5891bee75754587e7bf3768d5e66b74ff4b4689 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -50,6 +50,7 @@
#include "chrome/browser/extensions/extension_webrequest_api.h"
#include "chrome/browser/extensions/extension_webstore_private_api.h"
#include "chrome/browser/extensions/extensions_quota_service.h"
+#include "chrome/browser/extensions/system/system_api.h"
#include "chrome/browser/extensions/process_map.h"
#include "chrome/browser/extensions/settings/settings_api.h"
#include "chrome/browser/external_protocol/external_protocol_handler.h"
@@ -476,6 +477,9 @@ void FactoryRegistry::ResetFunctions() {
RegisterFunction<extensions::SocketConnectFunction>();
RegisterFunction<extensions::SocketCloseFunction>();
RegisterFunction<extensions::SocketWriteFunction>();
+
+ // System
+ RegisterFunction<extensions::GetIncognitoModeAvailabilityFunction>();
}
void FactoryRegistry::GetAllNames(std::vector<std::string>* names) {
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_preference_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698