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

Unified Diff: extensions/shell/browser/shell_runtime_api_delegate.h

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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: extensions/shell/browser/shell_runtime_api_delegate.h
diff --git a/apps/shell/browser/shell_runtime_api_delegate.h b/extensions/shell/browser/shell_runtime_api_delegate.h
similarity index 54%
rename from apps/shell/browser/shell_runtime_api_delegate.h
rename to extensions/shell/browser/shell_runtime_api_delegate.h
index fcef1b7b19917f9f7e35188d57ec2fc4c80804cb..1382ec562a48e4002398c8af86e47cc8d42594c2 100644
--- a/apps/shell/browser/shell_runtime_api_delegate.h
+++ b/extensions/shell/browser/shell_runtime_api_delegate.h
@@ -2,37 +2,35 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
-#define APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
+#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
+#define EXTENSIONS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
#include "base/macros.h"
#include "extensions/browser/api/runtime/runtime_api_delegate.h"
-namespace apps {
+namespace extensions {
-class ShellRuntimeAPIDelegate : public extensions::RuntimeAPIDelegate {
+class ShellRuntimeAPIDelegate : public RuntimeAPIDelegate {
public:
ShellRuntimeAPIDelegate();
virtual ~ShellRuntimeAPIDelegate();
- // extensions::RuntimeAPIDelegate implementation.
- virtual void AddUpdateObserver(extensions::UpdateObserver* observer) OVERRIDE;
- virtual void RemoveUpdateObserver(
- extensions::UpdateObserver* observer) OVERRIDE;
+ // RuntimeAPIDelegate implementation.
+ virtual void AddUpdateObserver(UpdateObserver* observer) OVERRIDE;
+ virtual void RemoveUpdateObserver(UpdateObserver* observer) OVERRIDE;
virtual base::Version GetPreviousExtensionVersion(
- const extensions::Extension* extension) OVERRIDE;
+ const Extension* extension) OVERRIDE;
virtual void ReloadExtension(const std::string& extension_id) OVERRIDE;
virtual bool CheckForUpdates(const std::string& extension_id,
const UpdateCheckCallback& callback) OVERRIDE;
virtual void OpenURL(const GURL& uninstall_url) OVERRIDE;
- virtual bool GetPlatformInfo(
- extensions::core_api::runtime::PlatformInfo* info) OVERRIDE;
+ virtual bool GetPlatformInfo(core_api::runtime::PlatformInfo* info) OVERRIDE;
virtual bool RestartDevice(std::string* error_message) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ShellRuntimeAPIDelegate);
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
+#endif // EXTENSIONS_SHELL_BROWSER_SHELL_RUNTIME_API_DELEGATE_H_
« no previous file with comments | « extensions/shell/browser/shell_omaha_query_params_delegate.cc ('k') | extensions/shell/browser/shell_runtime_api_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698