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

Side by Side Diff: chrome/browser/extensions/bookmark_app_helper.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 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/bookmark_app_helper.h" 5 #include "chrome/browser/extensions/bookmark_app_helper.h"
6 6
7 #include <cctype> 7 #include <cctype>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/extensions/crx_installer.h" 10 #include "chrome/browser/extensions/crx_installer.h"
(...skipping 10 matching lines...) Expand all
21 #include "extensions/common/constants.h" 21 #include "extensions/common/constants.h"
22 #include "extensions/common/extension.h" 22 #include "extensions/common/extension.h"
23 #include "extensions/common/manifest_handlers/icons_handler.h" 23 #include "extensions/common/manifest_handlers/icons_handler.h"
24 #include "extensions/common/url_pattern.h" 24 #include "extensions/common/url_pattern.h"
25 #include "grit/platform_locale_settings.h" 25 #include "grit/platform_locale_settings.h"
26 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 26 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
27 #include "skia/ext/image_operations.h" 27 #include "skia/ext/image_operations.h"
28 #include "skia/ext/platform_canvas.h" 28 #include "skia/ext/platform_canvas.h"
29 #include "third_party/skia/include/core/SkBitmap.h" 29 #include "third_party/skia/include/core/SkBitmap.h"
30 #include "ui/base/l10n/l10n_util.h" 30 #include "ui/base/l10n/l10n_util.h"
31 #include "ui/base/resource/resource_bundle.h"
32 #include "ui/gfx/canvas.h" 31 #include "ui/gfx/canvas.h"
33 #include "ui/gfx/color_analysis.h" 32 #include "ui/gfx/color_analysis.h"
34 #include "ui/gfx/color_utils.h" 33 #include "ui/gfx/color_utils.h"
35 #include "ui/gfx/font.h" 34 #include "ui/gfx/font.h"
36 #include "ui/gfx/font_list.h" 35 #include "ui/gfx/font_list.h"
37 #include "ui/gfx/image/canvas_image_source.h" 36 #include "ui/gfx/image/canvas_image_source.h"
38 #include "ui/gfx/image/image.h" 37 #include "ui/gfx/image/image.h"
39 #include "ui/gfx/image/image_family.h" 38 #include "ui/gfx/image/image_family.h"
40 #include "ui/gfx/rect.h" 39 #include "ui/gfx/rect.h"
41 40
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 extension, info_list, base::Bind(&OnIconsLoaded, web_app_info, callback)); 388 extension, info_list, base::Bind(&OnIconsLoaded, web_app_info, callback));
390 } 389 }
391 390
392 bool IsValidBookmarkAppUrl(const GURL& url) { 391 bool IsValidBookmarkAppUrl(const GURL& url) {
393 URLPattern origin_only_pattern(Extension::kValidWebExtentSchemes); 392 URLPattern origin_only_pattern(Extension::kValidWebExtentSchemes);
394 origin_only_pattern.SetMatchAllURLs(true); 393 origin_only_pattern.SetMatchAllURLs(true);
395 return url.is_valid() && origin_only_pattern.MatchesURL(url); 394 return url.is_valid() && origin_only_pattern.MatchesURL(url);
396 } 395 }
397 396
398 } // namespace extensions 397 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/webstore_private/webstore_private_api.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698