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

Side by Side Diff: chrome/browser/extensions/extension_uninstall_dialog.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/extension_uninstall_dialog.h" 5 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/extensions/extension_util.h" 11 #include "chrome/browser/extensions/extension_util.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "extensions/browser/extension_registry.h" 13 #include "extensions/browser/extension_registry.h"
14 #include "extensions/browser/image_loader.h" 14 #include "extensions/browser/image_loader.h"
15 #include "extensions/common/constants.h" 15 #include "extensions/common/constants.h"
16 #include "extensions/common/extension.h" 16 #include "extensions/common/extension.h"
17 #include "extensions/common/extension_icon_set.h" 17 #include "extensions/common/extension_icon_set.h"
18 #include "extensions/common/extension_resource.h" 18 #include "extensions/common/extension_resource.h"
19 #include "extensions/common/manifest_handlers/icons_handler.h" 19 #include "extensions/common/manifest_handlers/icons_handler.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 22 #include "ui/base/l10n/l10n_util.h"
23 #include "ui/base/resource/resource_bundle.h"
24 #include "ui/gfx/image/image.h" 23 #include "ui/gfx/image/image.h"
25 #include "ui/gfx/image/image_skia.h" 24 #include "ui/gfx/image/image_skia.h"
26 25
27 namespace extensions { 26 namespace extensions {
28 27
29 namespace { 28 namespace {
30 29
31 // Returns bitmap for the default icon with size equal to the default icon's 30 // Returns bitmap for the default icon with size equal to the default icon's
32 // pixel size under maximal supported scale factor. 31 // pixel size under maximal supported scale factor.
33 SkBitmap GetDefaultIconBitmapForMaxScaleFactor(bool is_app) { 32 SkBitmap GetDefaultIconBitmapForMaxScaleFactor(bool is_app) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return l10n_util::GetStringFUTF8( 120 return l10n_util::GetStringFUTF8(
122 IDS_EXTENSION_PROGRAMMATIC_UNINSTALL_PROMPT_HEADING, 121 IDS_EXTENSION_PROGRAMMATIC_UNINSTALL_PROMPT_HEADING,
123 base::UTF8ToUTF16(triggering_extension_->name()), 122 base::UTF8ToUTF16(triggering_extension_->name()),
124 base::UTF8ToUTF16(extension_->name())); 123 base::UTF8ToUTF16(extension_->name()));
125 } 124 }
126 return l10n_util::GetStringFUTF8(IDS_EXTENSION_UNINSTALL_PROMPT_HEADING, 125 return l10n_util::GetStringFUTF8(IDS_EXTENSION_UNINSTALL_PROMPT_HEADING,
127 base::UTF8ToUTF16(extension_->name())); 126 base::UTF8ToUTF16(extension_->name()));
128 } 127 }
129 128
130 } // namespace extensions 129 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_message_bubble_controller.cc ('k') | chrome/browser/history/history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698