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

Side by Side Diff: chrome/browser/web_applications/web_app.h

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "apps/shell_integration.h"
11 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
12 #include "build/build_config.h" 13 #include "build/build_config.h"
13 #include "chrome/browser/shell_integration.h"
14 #include "chrome/common/web_apps.h" 14 #include "chrome/common/web_apps.h"
15 15
16 namespace extensions { 16 namespace extensions {
17 class Extension; 17 class Extension;
18 } 18 }
19 19
20 namespace web_app { 20 namespace web_app {
21 21
22 // Gets the user data directory for given web app. The path for the directory is 22 // Gets the user data directory for given web app. The path for the directory is
23 // based on |extension_id|. If |extension_id| is empty then |url| is used 23 // based on |extension_id|. If |extension_id| is empty then |url| is used
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // Sanitizes |name| and returns a version of it that is safe to use as an 114 // Sanitizes |name| and returns a version of it that is safe to use as an
115 // on-disk file name . 115 // on-disk file name .
116 base::FilePath GetSanitizedFileName(const string16& name); 116 base::FilePath GetSanitizedFileName(const string16& name);
117 117
118 } // namespace internals 118 } // namespace internals
119 119
120 } // namespace web_app 120 } // namespace web_app
121 121
122 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 122 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698