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

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

Issue 10703037: Move StatisticsRecorder out of histogram.cc/h for further refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/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/file_util.h" 16 #include "base/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/ref_counted_memory.h" 19 #include "base/memory/ref_counted_memory.h"
20 #include "base/memory/singleton.h" 20 #include "base/memory/singleton.h"
21 #include "base/metrics/statistics_recorder.h"
21 #include "base/metrics/stats_table.h" 22 #include "base/metrics/stats_table.h"
22 #include "base/path_service.h" 23 #include "base/path_service.h"
23 #include "base/string_number_conversions.h" 24 #include "base/string_number_conversions.h"
24 #include "base/string_piece.h" 25 #include "base/string_piece.h"
25 #include "base/string_util.h" 26 #include "base/string_util.h"
26 #include "base/stringprintf.h" 27 #include "base/stringprintf.h"
27 #include "base/threading/thread.h" 28 #include "base/threading/thread.h"
28 #include "base/utf_string_conversions.h" 29 #include "base/utf_string_conversions.h"
29 #include "base/values.h" 30 #include "base/values.h"
30 #include "chrome/browser/about_flags.h" 31 #include "chrome/browser/about_flags.h"
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 1441
1441 AboutUI::AboutUI(content::WebUI* web_ui, const std::string& name) 1442 AboutUI::AboutUI(content::WebUI* web_ui, const std::string& name)
1442 : WebUIController(web_ui) { 1443 : WebUIController(web_ui) {
1443 Profile* profile = Profile::FromWebUI(web_ui); 1444 Profile* profile = Profile::FromWebUI(web_ui);
1444 ChromeURLDataManager::DataSource* source = 1445 ChromeURLDataManager::DataSource* source =
1445 new AboutUIHTMLSource(name, profile); 1446 new AboutUIHTMLSource(name, profile);
1446 if (source) { 1447 if (source) {
1447 ChromeURLDataManager::AddDataSource(profile, source); 1448 ChromeURLDataManager::AddDataSource(profile, source);
1448 } 1449 }
1449 } 1450 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698