| 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 "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
| 6 #include "base/memory/singleton.h" | 6 #include "base/memory/singleton.h" |
| 7 #include "chrome/browser/ui/app_list/app_list_service.h" | 7 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 return nullptr; | 52 return nullptr; |
| 53 } | 53 } |
| 54 void CreateShortcut() override {} | 54 void CreateShortcut() override {} |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); | 56 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace | 59 } // namespace |
| 60 | 60 |
| 61 // static | 61 // static |
| 62 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { | 62 AppListService* AppListService::Get(ui::HostDesktopType desktop_type) { |
| 63 return AppListServiceDisabled::GetInstance(); | 63 return AppListServiceDisabled::GetInstance(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 // static | 66 // static |
| 67 void AppListService::InitAll(Profile* initial_profile, | 67 void AppListService::InitAll(Profile* initial_profile, |
| 68 const base::FilePath& profile_path) {} | 68 const base::FilePath& profile_path) {} |
| 69 | 69 |
| 70 // static | 70 // static |
| 71 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} | 71 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} |
| 72 | 72 |
| 73 // static | 73 // static |
| 74 bool AppListService::HandleLaunchCommandLine( | 74 bool AppListService::HandleLaunchCommandLine( |
| 75 const base::CommandLine& command_line, | 75 const base::CommandLine& command_line, |
| 76 Profile* launch_profile) { | 76 Profile* launch_profile) { |
| 77 return false; | 77 return false; |
| 78 } | 78 } |
| OLD | NEW |