| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/common/chrome_icon_resources_win.h" | 5 #include "chrome/common/chrome_icon_resources_win.h" |
| 6 | 6 |
| 7 namespace icon_resources { | 7 namespace icon_resources { |
| 8 | 8 |
| 9 // The indices here must be consistent with the order of icons in chrome_exe.rc. | 9 // The indices here must be consistent with the order of icons in chrome_exe.rc. |
| 10 | 10 |
| 11 #if defined(GOOGLE_CHROME_BUILD) | 11 #if defined(GOOGLE_CHROME_BUILD) |
| 12 const int kApplicationIndex = 0; | 12 const int kApplicationIndex = 0; |
| 13 const int kApplication2Index = 1; | 13 const int kApplication2Index = 1; |
| 14 const int kApplication3Index = 2; | 14 const int kApplication3Index = 2; |
| 15 const int kApplication4Index = 3; | 15 const int kApplication4Index = 3; |
| 16 const int kSxSApplicationIndex = 4; | 16 const int kSxSApplicationIndex = 4; |
| 17 const int kAppLauncherIndex = 5; | 17 const int kAppLauncherIndex = 5; |
| 18 const int kSxSAppLauncherIndex = 6; | 18 const int kSxSAppLauncherIndex = 6; |
| 19 const int kIncognitoIndex = 7; |
| 19 | 20 |
| 20 #else | 21 #else |
| 21 const int kApplicationIndex = 0; | 22 const int kApplicationIndex = 0; |
| 22 const int kAppLauncherIndex = 1; | 23 const int kAppLauncherIndex = 1; |
| 24 const int kIncognitoIndex = 2; |
| 23 | 25 |
| 24 // For google_chrome_sxs_distribution.cc to compile in a dev build only. | 26 // For google_chrome_sxs_distribution.cc to compile in a dev build only. |
| 25 const int kSxSApplicationIndex = -1; | 27 const int kSxSApplicationIndex = -1; |
| 26 const int kSxSAppLauncherIndex = -1; | 28 const int kSxSAppLauncherIndex = -1; |
| 27 #endif | 29 #endif |
| 28 | 30 |
| 29 } // namespace icon_resources | 31 } // namespace icon_resources |
| OLD | NEW |