From 1c321ee57a522e891d91a41a09bd900f0afd6f0d Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Mon, 21 May 2012 03:02:34 +0000 Subject: Move Extension into extensions namespace BUG=117262 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138074 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/web_applications/web_app.cc | 2 +- chrome/browser/web_applications/web_app.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'chrome/browser/web_applications') diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc index cc58900..a502b5a 100644 --- a/chrome/browser/web_applications/web_app.cc +++ b/chrome/browser/web_applications/web_app.cc @@ -81,7 +81,7 @@ FilePath GetWebAppDataDirectory(const FilePath& profile_path, } FilePath GetWebAppDataDirectory(const FilePath& profile_path, - const Extension& extension) { + const extensions::Extension& extension) { return GetWebAppDataDirectory( profile_path, extension.id(), GURL(extension.launch_web_url())); } diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h index a9e55a6..253c88f 100644 --- a/chrome/browser/web_applications/web_app.h +++ b/chrome/browser/web_applications/web_app.h @@ -14,7 +14,9 @@ #include "chrome/browser/shell_integration.h" #include "chrome/common/web_apps.h" +namespace extensions { class Extension; +} namespace web_app { @@ -28,7 +30,7 @@ FilePath GetWebAppDataDirectory(const FilePath& profile_path, // Gets the user data directory to use for |extension| located inside // |profile_path|. FilePath GetWebAppDataDirectory(const FilePath& profile_path, - const Extension& extension); + const extensions::Extension& extension); // Compute a deterministic name based on data in the shortcut_info. std::string GenerateApplicationNameFromInfo( -- cgit v1.1