Index: chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
diff --git a/chrome/browser/extensions/api/app/app_api.h b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
similarity index 70% |
copy from chrome/browser/extensions/api/app/app_api.h |
copy to chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
index 230d5d8fd2b090b456eba210e8316ffa4274d1d0..b668f48f1b4bde83a6740e8e2e4846e00e8d3084 100644 |
--- a/chrome/browser/extensions/api/app/app_api.h |
+++ b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ |
-#define CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ |
+#ifndef CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
+#define CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
-#include "chrome/browser/extensions/extension_function.h" |
+#include "base/string16.h" |
class Profile; |
-class GURL; |
namespace webkit_glue { |
struct WebIntentData; |
@@ -18,24 +17,6 @@ namespace extensions { |
class Extension; |
-class AppNotifyFunction : public SyncExtensionFunction { |
- public: |
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.app.notify"); |
- |
- protected: |
- virtual ~AppNotifyFunction() {} |
- virtual bool RunImpl() OVERRIDE; |
-}; |
- |
-class AppClearAllNotificationsFunction : public SyncExtensionFunction { |
- public: |
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.app.clearAllNotifications"); |
- |
- protected: |
- virtual ~AppClearAllNotificationsFunction() {} |
- virtual bool RunImpl() OVERRIDE; |
-}; |
- |
class AppEventRouter { |
public: |
// Dispatches the onLaunched event to the given app, providing no launch |
@@ -76,4 +57,4 @@ class AppEventRouter { |
} // namespace extensions |
-#endif // CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ |
+#endif // CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |