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

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

Issue 883603002: Rename StreamlinedHostedApps to NewBookmarkApps in the code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments and variables Created 5 years, 10 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
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. 126 // Returns true if the bookmark apps feature is enabled.
127 //
128 // TODO(benwells): http://crbug.com/441127: Rename this to
129 // IsNewBookmarkAppsEnabled.
130 // 127 //
131 // TODO(benwells): http://crbug.com/441128: Remove this entirely once the 128 // TODO(benwells): http://crbug.com/441128: Remove this entirely once the
132 // feature is stable. 129 // feature is stable.
133 bool IsStreamlinedHostedAppsEnabled(); 130 bool IsNewBookmarkAppsEnabled();
134 131
135 } // namespace util 132 } // namespace util
136 } // namespace extensions 133 } // namespace extensions
137 134
138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ 135 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698