OLD | NEW |
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 "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
15 #include "build/build_config.h" | 16 #include "build/build_config.h" |
16 #include "chrome/browser/shell_integration.h" | 17 #include "chrome/browser/shell_integration.h" |
17 #include "chrome/common/web_application_info.h" | 18 #include "chrome/common/web_application_info.h" |
18 #include "extensions/common/manifest_handlers/file_handler_info.h" | 19 #include "extensions/common/manifest_handlers/file_handler_info.h" |
19 | 20 |
20 class Profile; | 21 class Profile; |
21 | 22 |
22 namespace content { | 23 namespace content { |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 274 |
274 // Sanitizes |name| and returns a version of it that is safe to use as an | 275 // Sanitizes |name| and returns a version of it that is safe to use as an |
275 // on-disk file name . | 276 // on-disk file name . |
276 base::FilePath GetSanitizedFileName(const base::string16& name); | 277 base::FilePath GetSanitizedFileName(const base::string16& name); |
277 | 278 |
278 } // namespace internals | 279 } // namespace internals |
279 | 280 |
280 } // namespace web_app | 281 } // namespace web_app |
281 | 282 |
282 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ | 283 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ |
OLD | NEW |