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

Side by Side Diff: chrome/browser/first_run/first_run_win.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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/external_tab_container_win.cc ('k') | chrome/browser/input_window_dialog_win.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/first_run/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 10
11 #include <set> 11 #include <set>
12 #include <sstream> 12 #include <sstream>
13 13
14 // TODO(port): trim this include list once first run has been refactored fully. 14 // TODO(port): trim this include list once first run has been refactored fully.
15 #include "app/app_switches.h" 15 #include "app/app_switches.h"
16 #include "app/l10n_util.h" 16 #include "app/l10n_util.h"
17 #include "app/l10n_util_win.h"
18 #include "app/resource_bundle.h" 17 #include "app/resource_bundle.h"
19 #include "base/command_line.h" 18 #include "base/command_line.h"
20 #include "base/file_util.h" 19 #include "base/file_util.h"
21 #include "base/logging.h" 20 #include "base/logging.h"
22 #include "base/object_watcher.h" 21 #include "base/object_watcher.h"
23 #include "base/path_service.h" 22 #include "base/path_service.h"
24 #include "base/process.h" 23 #include "base/process.h"
25 #include "base/process_util.h" 24 #include "base/process_util.h"
26 #include "base/registry.h" 25 #include "base/registry.h"
27 #include "base/scoped_comptr_win.h" 26 #include "base/scoped_comptr_win.h"
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 1053
1055 Upgrade::TryResult Upgrade::ShowTryChromeDialog(size_t version) { 1054 Upgrade::TryResult Upgrade::ShowTryChromeDialog(size_t version) {
1056 if (version > 10000) { 1055 if (version > 10000) {
1057 // This is a test value. We want to make sure we exercise 1056 // This is a test value. We want to make sure we exercise
1058 // returning this early. See EarlyReturnTest test harness. 1057 // returning this early. See EarlyReturnTest test harness.
1059 return Upgrade::TD_NOT_NOW; 1058 return Upgrade::TD_NOT_NOW;
1060 } 1059 }
1061 TryChromeDialog td; 1060 TryChromeDialog td;
1062 return td.ShowModal(); 1061 return td.ShowModal();
1063 } 1062 }
OLDNEW
« no previous file with comments | « chrome/browser/external_tab_container_win.cc ('k') | chrome/browser/input_window_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698