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

Side by Side Diff: chrome/browser/chrome_browser_main.cc

Issue 8919017: Split UserMetrics into API vs. implementation. Move API to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Version for commit (merged again). Created 9 years 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
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/chromeos/external_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 #include "chrome/browser/chrome_browser_main_win.h" 163 #include "chrome/browser/chrome_browser_main_win.h"
164 #include "chrome/browser/first_run/try_chrome_dialog_view.h" 164 #include "chrome/browser/first_run/try_chrome_dialog_view.h"
165 #include "chrome/browser/first_run/upgrade_util_win.h" 165 #include "chrome/browser/first_run/upgrade_util_win.h"
166 #include "chrome/browser/fragmentation_checker_win.h" 166 #include "chrome/browser/fragmentation_checker_win.h"
167 #include "chrome/browser/net/url_fixer_upper.h" 167 #include "chrome/browser/net/url_fixer_upper.h"
168 #include "chrome/browser/rlz/rlz.h" 168 #include "chrome/browser/rlz/rlz.h"
169 #include "chrome/browser/ui/views/user_data_dir_dialog.h" 169 #include "chrome/browser/ui/views/user_data_dir_dialog.h"
170 #include "chrome/installer/util/helper.h" 170 #include "chrome/installer/util/helper.h"
171 #include "chrome/installer/util/install_util.h" 171 #include "chrome/installer/util/install_util.h"
172 #include "chrome/installer/util/shell_util.h" 172 #include "chrome/installer/util/shell_util.h"
173 #include "content/browser/user_metrics.h"
174 #include "net/base/net_util.h" 173 #include "net/base/net_util.h"
175 #include "printing/printed_document.h" 174 #include "printing/printed_document.h"
176 #include "ui/base/l10n/l10n_util_win.h" 175 #include "ui/base/l10n/l10n_util_win.h"
177 #endif // defined(OS_WIN) 176 #endif // defined(OS_WIN)
178 177
179 #if defined(OS_MACOSX) 178 #if defined(OS_MACOSX)
180 #include <Security/Security.h> 179 #include <Security/Security.h>
181 180
182 #include "base/mac/scoped_nsautorelease_pool.h" 181 #include "base/mac/scoped_nsautorelease_pool.h"
183 #include "chrome/browser/mac/install_from_dmg.h" 182 #include "chrome/browser/mac/install_from_dmg.h"
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after
2181 if (env->GetVar(chrome::kPreReadEnvironmentVariable, &pre_read) && 2180 if (env->GetVar(chrome::kPreReadEnvironmentVariable, &pre_read) &&
2182 (pre_read == "0" || pre_read == "1")) { 2181 (pre_read == "0" || pre_read == "1")) {
2183 std::string uma_name(name); 2182 std::string uma_name(name);
2184 uma_name += "_PreRead"; 2183 uma_name += "_PreRead";
2185 uma_name += pre_read == "1" ? "Enabled" : "Disabled"; 2184 uma_name += pre_read == "1" ? "Enabled" : "Disabled";
2186 AddPreReadHistogramTime(uma_name.c_str(), time); 2185 AddPreReadHistogramTime(uma_name.c_str(), time);
2187 } 2186 }
2188 #endif 2187 #endif
2189 #endif 2188 #endif
2190 } 2189 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/chromeos/external_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698