| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |