| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/views/app_list/linux/app_list_service_linux.h" | 5 #include "chrome/browser/ui/views/app_list/linux/app_list_service_linux.h" |
| 6 | 6 |
| 7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "chrome/browser/shell_integration.h" | 9 #include "chrome/browser/shell_integration.h" |
| 10 #include "chrome/browser/shell_integration_linux.h" | 10 #include "chrome/browser/shell_integration_linux.h" |
| 11 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" | 11 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| 12 #include "chrome/browser/ui/app_list/app_list_controller_delegate_views.h" | 12 #include "chrome/browser/ui/app_list/app_list_controller_delegate_views.h" |
| 13 #include "chrome/browser/ui/app_list/app_list_shower_views.h" | 13 #include "chrome/browser/ui/app_list/app_list_shower_views.h" |
| 14 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" | 14 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" |
| 15 #include "chrome/browser/ui/views/app_list/linux/app_list_linux.h" | 15 #include "chrome/browser/ui/views/app_list/linux/app_list_linux.h" |
| 16 #include "chrome/grit/chromium_strings.h" | 16 #include "chrome/grit/chromium_strings.h" |
| 17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 18 #include "ui/app_list/app_list_constants.h" | 18 #include "ui/app_list/app_list_constants.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // static | 99 // static |
| 100 void AppListService::InitAll(Profile* initial_profile, | 100 void AppListService::InitAll(Profile* initial_profile, |
| 101 const base::FilePath& profile_path) { | 101 const base::FilePath& profile_path) { |
| 102 #if defined(USE_ASH) | 102 #if defined(USE_ASH) |
| 103 AppListServiceAsh::GetInstance()->Init(initial_profile); | 103 AppListServiceAsh::GetInstance()->Init(initial_profile); |
| 104 #else | 104 #else |
| 105 AppListServiceLinux::GetInstance()->Init(initial_profile); | 105 AppListServiceLinux::GetInstance()->Init(initial_profile); |
| 106 #endif | 106 #endif |
| 107 } | 107 } |
| OLD | NEW |