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

Unified Diff: chrome/browser/web_applications/web_app.h

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, address review comments Created 8 years, 10 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/web_applications/web_app.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index 67c839e773f66c8ff032d72f025a325375590d68..cf686c4af91dada838ad2ee38ac43d396e91d123 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -16,6 +16,11 @@
namespace web_app {
+// Returns data directory for given web app url.
+FilePath GetWebAppDataDirectory(const FilePath& profile_path,
+ const std::string& extension_id,
+ const GURL& url);
+
// Compute a deterministic name based on data in the shortcut_info.
std::string GenerateApplicationNameFromInfo(
const ShellIntegration::ShortcutInfo& shortcut_info);
@@ -67,9 +72,6 @@ namespace internals {
bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image);
#endif
-FilePath GetWebAppDataDirectory(const FilePath& root_dir,
- const ShellIntegration::ShortcutInfo& info);
-
// Does the actual job of creating a shortcut (see CreateShortcut() above).
// This must be called on the file thread.
void CreateShortcutTask(const FilePath& web_app_path,

Powered by Google App Engine
This is Rietveld 408576698