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

Unified Diff: chrome/browser/extensions/api/idle/idle_api.h

Issue 826933003: Update idle extension API to use BrowserContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make BrowserContext members const Created 5 years, 11 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 | chrome/browser/extensions/api/idle/idle_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/idle/idle_api.h
diff --git a/chrome/browser/extensions/api/idle/idle_api.h b/chrome/browser/extensions/api/idle/idle_api.h
index f74f92b5af2a028fd5c833a317c25e2beab2c0cc..bf0dcc52cffa48fafc45c9d59e08e85d5d25cdc2 100644
--- a/chrome/browser/extensions/api/idle/idle_api.h
+++ b/chrome/browser/extensions/api/idle/idle_api.h
@@ -5,13 +5,13 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_IDLE_IDLE_API_H_
-#include "chrome/browser/extensions/chrome_extension_function.h"
#include "chrome/browser/idle.h"
+#include "extensions/browser/extension_function.h"
namespace extensions {
// Implementation of the chrome.idle.queryState API.
-class IdleQueryStateFunction : public ChromeAsyncExtensionFunction {
+class IdleQueryStateFunction : public AsyncExtensionFunction {
James Cook 2015/01/06 20:47:49 For a future CL -- I've been trying to convert the
Daniel Erat 2015/01/13 22:26:07 sure, i'm including this in my change to actually
public:
DECLARE_EXTENSION_FUNCTION("idle.queryState", IDLE_QUERYSTATE)
@@ -26,7 +26,7 @@ class IdleQueryStateFunction : public ChromeAsyncExtensionFunction {
};
// Implementation of the chrome.idle.setDetectionInterval API.
-class IdleSetDetectionIntervalFunction : public ChromeSyncExtensionFunction {
+class IdleSetDetectionIntervalFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("idle.setDetectionInterval",
IDLE_SETDETECTIONINTERVAL)
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idle/idle_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698