| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 126 // Returns true if the experimental streamlined hosted apps feature is enabled. |
| 127 // |
| 128 // TODO(benwells): http://crbug.com/441127: Rename this to |
| 129 // IsNewBookmarkAppsEnabled. |
| 130 // |
| 131 // TODO(benwells): http://crbug.com/441128: Remove this entirely once the |
| 132 // feature is stable. |
| 127 bool IsStreamlinedHostedAppsEnabled(); | 133 bool IsStreamlinedHostedAppsEnabled(); |
| 128 | 134 |
| 129 } // namespace util | 135 } // namespace util |
| 130 } // namespace extensions | 136 } // namespace extensions |
| 131 | 137 |
| 132 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ | 138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ |
| OLD | NEW |