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

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

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
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
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 "chrome/grit/generated_resources.h" 13 #include "chrome/grit/generated_resources.h"
14 #include "extensions/browser/extension_registry.h" 14 #include "extensions/browser/extension_registry.h"
15 #include "extensions/browser/image_loader.h" 15 #include "extensions/browser/image_loader.h"
16 #include "extensions/common/constants.h" 16 #include "extensions/common/constants.h"
17 #include "extensions/common/extension.h" 17 #include "extensions/common/extension.h"
18 #include "extensions/common/extension_icon_set.h" 18 #include "extensions/common/extension_icon_set.h"
19 #include "extensions/common/extension_resource.h" 19 #include "extensions/common/extension_resource.h"
20 #include "extensions/common/manifest_handlers/icons_handler.h" 20 #include "extensions/common/manifest_handlers/icons_handler.h"
21 #include "grit/theme_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 21 #include "ui/base/l10n/l10n_util.h"
23 #include "ui/gfx/image/image.h" 22 #include "ui/gfx/image/image.h"
24 #include "ui/gfx/image/image_skia.h" 23 #include "ui/gfx/image/image_skia.h"
25 24
26 namespace extensions { 25 namespace extensions {
27 26
28 namespace { 27 namespace {
29 28
30 // Returns bitmap for the default icon with size equal to the default icon's 29 // Returns bitmap for the default icon with size equal to the default icon's
31 // pixel size under maximal supported scale factor. 30 // pixel size under maximal supported scale factor.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 return l10n_util::GetStringFUTF8( 119 return l10n_util::GetStringFUTF8(
121 IDS_EXTENSION_PROGRAMMATIC_UNINSTALL_PROMPT_HEADING, 120 IDS_EXTENSION_PROGRAMMATIC_UNINSTALL_PROMPT_HEADING,
122 base::UTF8ToUTF16(triggering_extension_->name()), 121 base::UTF8ToUTF16(triggering_extension_->name()),
123 base::UTF8ToUTF16(extension_->name())); 122 base::UTF8ToUTF16(extension_->name()));
124 } 123 }
125 return l10n_util::GetStringFUTF8(IDS_EXTENSION_UNINSTALL_PROMPT_HEADING, 124 return l10n_util::GetStringFUTF8(IDS_EXTENSION_UNINSTALL_PROMPT_HEADING,
126 base::UTF8ToUTF16(extension_->name())); 125 base::UTF8ToUTF16(extension_->name()));
127 } 126 }
128 127
129 } // namespace extensions 128 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698