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

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

Issue 3043030: Move browser/first_run* into into a subdirectory. (Closed)
Patch Set: 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
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.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"
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1062
1063 Upgrade::TryResult Upgrade::ShowTryChromeDialog(size_t version) { 1063 Upgrade::TryResult Upgrade::ShowTryChromeDialog(size_t version) {
1064 if (version > 10000) { 1064 if (version > 10000) {
1065 // This is a test value. We want to make sure we exercise 1065 // This is a test value. We want to make sure we exercise
1066 // returning this early. See EarlyReturnTest test harness. 1066 // returning this early. See EarlyReturnTest test harness.
1067 return Upgrade::TD_NOT_NOW; 1067 return Upgrade::TD_NOT_NOW;
1068 } 1068 }
1069 TryChromeDialog td; 1069 TryChromeDialog td;
1070 return td.ShowModal(); 1070 return td.ShowModal();
1071 } 1071 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698