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

Side by Side Diff: chrome/browser/views/first_run_view_base.cc

Issue 48105: Remove unneeded uses of base/ref_counted.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller.h ('k') | chrome/views/widget/root_view.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/views/first_run_view_base.h" 5 #include "chrome/browser/views/first_run_view_base.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/ref_counted.h"
10 #include "base/thread.h" 9 #include "base/thread.h"
11 #include "chrome/browser/browser_list.h" 10 #include "chrome/browser/browser_list.h"
12 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/first_run.h" 12 #include "chrome/browser/first_run.h"
14 #include "chrome/browser/metrics/user_metrics.h" 13 #include "chrome/browser/metrics/user_metrics.h"
15 #include "chrome/browser/shell_integration.h" 14 #include "chrome/browser/shell_integration.h"
16 #include "chrome/browser/views/standard_layout.h" 15 #include "chrome/browser/views/standard_layout.h"
17 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/l10n_util.h" 17 #include "chrome/common/l10n_util.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 } 182 }
184 183
185 bool FirstRunViewBase::SetDefaultBrowser() { 184 bool FirstRunViewBase::SetDefaultBrowser() {
186 UserMetrics::RecordAction(L"FirstRun_Do_DefBrowser", profile_); 185 UserMetrics::RecordAction(L"FirstRun_Do_DefBrowser", profile_);
187 return ShellIntegration::SetAsDefaultBrowser(); 186 return ShellIntegration::SetAsDefaultBrowser();
188 } 187 }
189 188
190 bool FirstRunViewBase::FirstRunComplete() { 189 bool FirstRunViewBase::FirstRunComplete() {
191 return FirstRun::CreateSentinel(); 190 return FirstRun::CreateSentinel();
192 } 191 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller.h ('k') | chrome/views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698