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

Unified Diff: chrome/browser/extensions/app_extension_host_delegate.cc

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Delegated Created 8 years, 2 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/app_extension_host_delegate.cc
diff --git a/chrome/common/extensions/draggable_region.cc b/chrome/browser/extensions/app_extension_host_delegate.cc
similarity index 61%
copy from chrome/common/extensions/draggable_region.cc
copy to chrome/browser/extensions/app_extension_host_delegate.cc
index 0556e72bbe4090bd77b3fb1a65ddc9a6d4c72625..f77a0bb2560e27e6a5b2835074c515e01522dfeb 100644
--- a/chrome/common/extensions/draggable_region.cc
+++ b/chrome/browser/extensions/app_extension_host_delegate.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/draggable_region.h"
+#include "chrome/browser/extensions/app_extension_host_delegate.h"
namespace extensions {
-DraggableRegion::DraggableRegion()
- : draggable(false) {
+bool AppBackgroundHostDelegate::KeepsBrowserProcessAlive() {
+ return true;
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698