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

Side by Side Diff: chrome/browser/extensions/extension_util.h

Issue 489313002: Centralize command line checks for kEnableStreamlinedHostedApps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 3 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 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/management/management_api.cc ('k') | chrome/browser/extensions/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698