| Index: chrome/browser/ui/app_list/app_list_service_win.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_service_win.cc b/chrome/browser/ui/app_list/app_list_service_win.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8fb7b5f3d9413aa64ea20c77c948df3052bb475
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/app_list/app_list_service_win.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/ui/app_list/app_list_service_win.h"
|
| +
|
| +#include "grit/theme_resources.h"
|
| +
|
| +#if defined(GOOGLE_CHROME_BUILD)
|
| +#include "chrome/installer/util/install_util.h"
|
| +#endif
|
| +
|
| +namespace chrome {
|
| +
|
| +int GetAppListIconResourceId() {
|
| + int icon_id = IDR_APP_LIST;
|
| +#if defined(GOOGLE_CHROME_BUILD)
|
| + if (InstallUtil::IsChromeSxSProcess())
|
| + icon_id = IDR_APP_LIST_SXS;
|
| +#endif
|
| + return icon_id;
|
| +}
|
| +
|
| +} // namespace chrome
|
|
|