| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_EXTENSION_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // Returns true if the site URL corresponds to an extension or app and has | 116 // Returns true if the site URL corresponds to an extension or app and has |
| 117 // isolated storage. | 117 // isolated storage. |
| 118 bool SiteHasIsolatedStorage(const GURL& extension_site_url, | 118 bool SiteHasIsolatedStorage(const GURL& extension_site_url, |
| 119 content::BrowserContext* context); | 119 content::BrowserContext* context); |
| 120 | 120 |
| 121 // Returns the default extension/app icon (for extensions or apps that don't | 121 // Returns the default extension/app icon (for extensions or apps that don't |
| 122 // have one). | 122 // have one). |
| 123 const gfx::ImageSkia& GetDefaultExtensionIcon(); | 123 const gfx::ImageSkia& GetDefaultExtensionIcon(); |
| 124 const gfx::ImageSkia& GetDefaultAppIcon(); | 124 const gfx::ImageSkia& GetDefaultAppIcon(); |
| 125 | 125 |
| 126 // Returns true if the experimental streamlined hosted apps feature is enabled. |
| 127 bool IsStreamlinedHostedAppsEnabled(); |
| 128 |
| 126 } // namespace util | 129 } // namespace util |
| 127 } // namespace extensions | 130 } // namespace extensions |
| 128 | 131 |
| 129 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ | 132 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ |
| OLD | NEW |