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

Side by Side Diff: chrome/browser/ui/webui/about_ui.cc

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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/ui/webui/about_ui.h" 5 #include "chrome/browser/ui/webui/about_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
17 #include "base/i18n/number_formatting.h" 17 #include "base/i18n/number_formatting.h"
18 #include "base/json/json_writer.h" 18 #include "base/json/json_writer.h"
19 #include "base/memory/singleton.h" 19 #include "base/memory/singleton.h"
20 #include "base/metrics/statistics_recorder.h" 20 #include "base/metrics/statistics_recorder.h"
21 #include "base/metrics/stats_table.h" 21 #include "base/metrics/stats_table.h"
22 #include "base/path_service.h"
23 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
24 #include "base/strings/string_piece.h" 23 #include "base/strings/string_piece.h"
25 #include "base/strings/string_util.h" 24 #include "base/strings/string_util.h"
26 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
27 #include "base/strings/utf_string_conversions.h" 26 #include "base/strings/utf_string_conversions.h"
28 #include "base/threading/thread.h" 27 #include "base/threading/thread.h"
29 #include "base/values.h" 28 #include "base/values.h"
30 #include "chrome/browser/about_flags.h" 29 #include "chrome/browser/about_flags.h"
31 #include "chrome/browser/browser_process.h" 30 #include "chrome/browser/browser_process.h"
32 #include "chrome/browser/defaults.h" 31 #include "chrome/browser/defaults.h"
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 Profile* profile = Profile::FromWebUI(web_ui); 1161 Profile* profile = Profile::FromWebUI(web_ui);
1163 1162
1164 #if defined(ENABLE_THEMES) 1163 #if defined(ENABLE_THEMES)
1165 // Set up the chrome://theme/ source. 1164 // Set up the chrome://theme/ source.
1166 ThemeSource* theme = new ThemeSource(profile); 1165 ThemeSource* theme = new ThemeSource(profile);
1167 content::URLDataSource::Add(profile, theme); 1166 content::URLDataSource::Add(profile, theme);
1168 #endif 1167 #endif
1169 1168
1170 content::URLDataSource::Add(profile, new AboutUIHTMLSource(name, profile)); 1169 content::URLDataSource::Add(profile, new AboutUIHTMLSource(name, profile));
1171 } 1170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698