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

Unified Diff: chrome/browser/extensions/api/app_runtime/app_runtime_api.h

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another merge before retrying commit. Created 8 years, 4 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
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_
« no previous file with comments | « chrome/browser/extensions/api/app/app_api.cc ('k') | chrome/browser/extensions/api/app_runtime/app_runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698