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

Side by Side Diff: chrome/browser/extensions/api/management/chrome_management_api_delegate.cc

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 #include "chrome/browser/extensions/api/management/chrome_management_api_delegat e.h" 5 #include "chrome/browser/extensions/api/management/chrome_management_api_delegat e.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 content::BrowserContext* context, 331 content::BrowserContext* context,
332 const std::string& extension_id, 332 const std::string& extension_id,
333 extensions::LaunchType launch_type) const { 333 extensions::LaunchType launch_type) const {
334 extensions::SetLaunchType(context, extension_id, launch_type); 334 extensions::SetLaunchType(context, extension_id, launch_type);
335 } 335 }
336 336
337 GURL ChromeManagementAPIDelegate::GetIconURL( 337 GURL ChromeManagementAPIDelegate::GetIconURL(
338 const extensions::Extension* extension, 338 const extensions::Extension* extension,
339 int icon_size, 339 int icon_size,
340 ExtensionIconSet::MatchType match, 340 ExtensionIconSet::MatchType match,
341 bool grayscale, 341 bool grayscale) const {
342 bool* exists) const {
343 return extensions::ExtensionIconSource::GetIconURL(extension, icon_size, 342 return extensions::ExtensionIconSource::GetIconURL(extension, icon_size,
344 match, grayscale, exists); 343 match, grayscale);
345 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698