| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback_old.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "chrome/browser/shell_integration.h" | 14 #include "chrome/browser/shell_integration.h" |
| 15 #include "chrome/common/web_apps.h" | 15 #include "chrome/common/web_apps.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace web_app { | 19 namespace web_app { |
| 20 | 20 |
| 21 // Compute a deterministic name based on data in the shortcut_info. | 21 // Compute a deterministic name based on data in the shortcut_info. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image); | 73 bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image); |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 FilePath GetWebAppDataDirectory(const FilePath& root_dir, | 76 FilePath GetWebAppDataDirectory(const FilePath& root_dir, |
| 77 const ShellIntegration::ShortcutInfo& info); | 77 const ShellIntegration::ShortcutInfo& info); |
| 78 } // namespace internals | 78 } // namespace internals |
| 79 | 79 |
| 80 } // namespace web_app | 80 } // namespace web_app |
| 81 | 81 |
| 82 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ | 82 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ |
| OLD | NEW |