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

Unified Diff: chrome/browser/extensions/system/system_api.h

Issue 8747003: Add private system extension API to get system update status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for the case with no update on non-ChromeOS platforms 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
Index: chrome/browser/extensions/system/system_api.h
diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h
index b80f5d354db50d9d9a77a2b2a6c84b3f18beb600..a999f63decfc9dfc37607bb045faa13f3609b4c1 100644
--- a/chrome/browser/extensions/system/system_api.h
+++ b/chrome/browser/extensions/system/system_api.h
@@ -8,23 +8,25 @@
#ifndef CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
#define CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
-#include "chrome/browser/extensions/extension_preference_api.h"
-
-#include <string>
-
-namespace base {
-class Value;
-}
+#include "chrome/browser/extensions/extension_function.h"
namespace extensions {
class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction {
public:
- virtual ~GetIncognitoModeAvailabilityFunction();
+ virtual ~GetIncognitoModeAvailabilityFunction() {}
virtual bool RunImpl() OVERRIDE;
DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
};
+// API function which returns the status of system update.
+class GetUpdateStatusFunction : public SyncExtensionFunction {
+ public:
+ virtual ~GetUpdateStatusFunction() {}
+ virtual bool RunImpl() OVERRIDE;
+ DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getUpdateStatus")
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/system/system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698