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

Side by Side Diff: extensions/browser/api/management/management_api_delegate.h

Issue 2576833002: Make some updates to extension iconography. (Closed)
Patch Set: add test Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
6 #define EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 6 #define EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "extensions/browser/uninstall_reason.h" 9 #include "extensions/browser/uninstall_reason.h"
10 #include "extensions/common/constants.h" 10 #include "extensions/common/constants.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 GenerateAppForLinkFunctionDelegate( 126 GenerateAppForLinkFunctionDelegate(
127 ManagementGenerateAppForLinkFunction* function, 127 ManagementGenerateAppForLinkFunction* function,
128 content::BrowserContext* context, 128 content::BrowserContext* context,
129 const std::string& title, 129 const std::string& title,
130 const GURL& launch_url) const = 0; 130 const GURL& launch_url) const = 0;
131 131
132 // Forwards the call to ExtensionIconSource::GetIconURL in chrome. 132 // Forwards the call to ExtensionIconSource::GetIconURL in chrome.
133 virtual GURL GetIconURL(const Extension* extension, 133 virtual GURL GetIconURL(const Extension* extension,
134 int icon_size, 134 int icon_size,
135 ExtensionIconSet::MatchType match, 135 ExtensionIconSet::MatchType match,
136 bool grayscale, 136 bool grayscale) const = 0;
137 bool* exists) const = 0;
138 }; 137 };
139 138
140 } // namespace extensions 139 } // namespace extensions
141 140
142 #endif // EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_ 141 #endif // EXTENSIONS_BROWSER_API_MANAGEMENT_MANAGEMENT_API_DELEGATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698