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

Side by Side Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/ui/webui/ntp/ntp_resource_cache.h" 5 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/feature_list.h" 9 #include "base/feature_list.h"
10 #include "base/memory/ref_counted_memory.h" 10 #include "base/memory/ref_counted_memory.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/ui/bookmarks/bookmark_bar_constants.h" 25 #include "chrome/browser/ui/bookmarks/bookmark_bar_constants.h"
26 #include "chrome/browser/ui/webui/app_launcher_login_handler.h" 26 #include "chrome/browser/ui/webui/app_launcher_login_handler.h"
27 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" 27 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h"
28 #include "chrome/common/chrome_features.h" 28 #include "chrome/common/chrome_features.h"
29 #include "chrome/common/features.h" 29 #include "chrome/common/features.h"
30 #include "chrome/common/pref_names.h" 30 #include "chrome/common/pref_names.h"
31 #include "chrome/common/url_constants.h" 31 #include "chrome/common/url_constants.h"
32 #include "chrome/grit/browser_resources.h" 32 #include "chrome/grit/browser_resources.h"
33 #include "chrome/grit/chromium_strings.h" 33 #include "chrome/grit/chromium_strings.h"
34 #include "chrome/grit/generated_resources.h" 34 #include "chrome/grit/generated_resources.h"
35 #include "chrome/grit/locale_settings.h"
36 #include "chrome/grit/theme_resources.h" 35 #include "chrome/grit/theme_resources.h"
37 #include "components/bookmarks/common/bookmark_pref_names.h" 36 #include "components/bookmarks/common/bookmark_pref_names.h"
38 #include "components/google/core/browser/google_util.h" 37 #include "components/google/core/browser/google_util.h"
39 #include "components/prefs/pref_service.h" 38 #include "components/prefs/pref_service.h"
40 #include "components/signin/core/browser/signin_manager.h" 39 #include "components/signin/core/browser/signin_manager.h"
41 #include "components/strings/grit/components_strings.h" 40 #include "components/strings/grit/components_strings.h"
42 #include "content/public/browser/browser_thread.h" 41 #include "content/public/browser/browser_thread.h"
43 #include "content/public/browser/notification_service.h" 42 #include "content/public/browser/notification_service.h"
44 #include "content/public/browser/render_process_host.h" 43 #include "content/public/browser/render_process_host.h"
45 #include "extensions/common/extension.h" 44 #include "extensions/common/extension.h"
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 // Get our template. 594 // Get our template.
596 static const base::StringPiece new_tab_theme_css( 595 static const base::StringPiece new_tab_theme_css(
597 ResourceBundle::GetSharedInstance().GetRawDataResource( 596 ResourceBundle::GetSharedInstance().GetRawDataResource(
598 IDR_NEW_TAB_4_THEME_CSS)); 597 IDR_NEW_TAB_4_THEME_CSS));
599 598
600 // Create the string from our template and the replacements. 599 // Create the string from our template and the replacements.
601 std::string css_string = 600 std::string css_string =
602 ui::ReplaceTemplateExpressions(new_tab_theme_css, substitutions); 601 ui::ReplaceTemplateExpressions(new_tab_theme_css, substitutions);
603 new_tab_css_ = base::RefCountedString::TakeString(&css_string); 602 new_tab_css_ = base::RefCountedString::TakeString(&css_string);
604 } 603 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/nacl_ui.cc ('k') | chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698