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

Unified Diff: athena/content/delegate/test_app_content_delegate.cc

Issue 477523002: Athena: Adding basic resource management framework (un-/re-loading) of V2 applications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 6 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: athena/content/delegate/test_app_content_delegate.cc
diff --git a/athena/content/delegate/test_app_content_delegate.cc b/athena/content/delegate/test_app_content_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2934c0a38d78871b414b654026c738c13495f221
--- /dev/null
+++ b/athena/content/delegate/test_app_content_delegate.cc
@@ -0,0 +1,29 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "athena/content/public/app_content_delegate.h"
oshima 2014/08/18 23:14:02 can this move to athena/test ? (athena/test can de
Mr4D (OOO till 08-26) 2014/08/19 14:21:10 Done.
+
+namespace athena {
+
+bool AppContentDelegate::UnloadApplication(
+ const std::string& app_id,
+ content::BrowserContext* browser_context) {
+ // TODO(skuhne): Use the extension system to unload
+ // (|ExtensionService::TerminateExtension|) once it becomes available in
+ // Athena.
+ return false;
+}
+
+bool AppContentDelegate::RestartApplication(
+ const std::string& app_id,
+ content::BrowserContext* browser_context) {
+ return false;
+}
+
+std::string AppContentDelegate::GetExtensionID(
+ content::WebContents* web_contents) {
+ return std::string();
+}
+
+} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698