OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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.h" |
6 | 6 |
7 #include <atlbase.h> | |
8 #include <atlcom.h> | |
9 #include <windows.h> | 7 #include <windows.h> |
10 #include <shellapi.h> | 8 #include <shellapi.h> |
11 #include <shlobj.h> | 9 #include <shlobj.h> |
12 | 10 |
13 #include <sstream> | 11 #include <sstream> |
14 | 12 |
15 // TODO(port): trim this include list once first run has been refactored fully. | 13 // TODO(port): trim this include list once first run has been refactored fully. |
16 #include "app/app_switches.h" | 14 #include "app/app_switches.h" |
17 #include "app/resource_bundle.h" | 15 #include "app/resource_bundle.h" |
18 #include "base/command_line.h" | 16 #include "base/command_line.h" |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 | 865 |
868 DISALLOW_COPY_AND_ASSIGN(TryChromeDialog); | 866 DISALLOW_COPY_AND_ASSIGN(TryChromeDialog); |
869 }; | 867 }; |
870 | 868 |
871 } // namespace | 869 } // namespace |
872 | 870 |
873 Upgrade::TryResult Upgrade::ShowTryChromeDialog() { | 871 Upgrade::TryResult Upgrade::ShowTryChromeDialog() { |
874 TryChromeDialog td; | 872 TryChromeDialog td; |
875 return td.ShowModal(); | 873 return td.ShowModal(); |
876 } | 874 } |
OLD | NEW |