summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/convert_web_app.h
diff options
context:
space:
mode:
authorrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 22:29:38 +0000
committerrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 22:29:38 +0000
commitb1912d593b8d4ef3ebcd448c7b7a9720b2f9c5dc (patch)
tree260bb227bb7b5c8b00da0addbe561141d69113f7 /chrome/browser/extensions/convert_web_app.h
parent27c263aaaa3f1746555cc9f0eefd7dd64778900e (diff)
downloadchromium_src-b1912d593b8d4ef3ebcd448c7b7a9720b2f9c5dc.zip
chromium_src-b1912d593b8d4ef3ebcd448c7b7a9720b2f9c5dc.tar.gz
chromium_src-b1912d593b8d4ef3ebcd448c7b7a9720b2f9c5dc.tar.bz2
Move small c/b/extensions classes into extensions namespace no.1
Since these classes are small, they can be all be moved in one cl without it becoming overly large. This one moves: - AppShortcutManager - AutoUpdateInterceptor - ConvertWebApp - ExtensionActivityLog (now extensions::ActivityLog) BUG=117261 TBR=jam@chromium.org, willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/convert_web_app.h')
-rw-r--r--chrome/browser/extensions/convert_web_app.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/extensions/convert_web_app.h b/chrome/browser/extensions/convert_web_app.h
index b792c5c..0bff0e5 100644
--- a/chrome/browser/extensions/convert_web_app.h
+++ b/chrome/browser/extensions/convert_web_app.h
@@ -14,11 +14,10 @@ namespace base {
class Time;
}
+struct WebApplicationInfo;
+
namespace extensions {
class Extension;
-}
-
-struct WebApplicationInfo;
// Generates a version number for an extension from a time. The goal is to make
// use of the version number to communicate the date in a human readable form,
@@ -38,8 +37,10 @@ std::string ConvertTimeToExtensionVersion(const base::Time& time);
// NOTE: This function does file IO and should not be called on the UI thread.
// NOTE: The caller takes ownership of the directory at extension->path() on the
// returned object.
-scoped_refptr<extensions::Extension> ConvertWebAppToExtension(
+scoped_refptr<Extension> ConvertWebAppToExtension(
const WebApplicationInfo& web_app_info,
const base::Time& create_time);
+} // namespace extensions
+
#endif // CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_