| 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/app_list/app_list_service.h" | 5 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 6 | 6 |
| 7 #include "base/prefs/pref_registry_simple.h" | 7 #include "base/prefs/pref_registry_simple.h" |
| 8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
| 9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 10 #include "chrome/browser/extensions/extension_prefs.h" | 10 #include "chrome/browser/extensions/extension_prefs.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 local_state->HasPrefPath(prefs::kProfileLastUsed)) | 40 local_state->HasPrefPath(prefs::kProfileLastUsed)) |
| 41 app_list_profile = local_state->GetString(prefs::kProfileLastUsed); | 41 app_list_profile = local_state->GetString(prefs::kProfileLastUsed); |
| 42 | 42 |
| 43 std::string profile_path = app_list_profile.empty() ? | 43 std::string profile_path = app_list_profile.empty() ? |
| 44 chrome::kInitialProfile : | 44 chrome::kInitialProfile : |
| 45 app_list_profile; | 45 app_list_profile; |
| 46 | 46 |
| 47 return user_data_dir.AppendASCII(profile_path); | 47 return user_data_dir.AppendASCII(profile_path); |
| 48 } | 48 } |
| 49 | 49 |
| 50 void AppListService::ShowForSavedProfile() {} |
| 51 |
| 50 void AppListService::ShowAppList(Profile* profile) {} | 52 void AppListService::ShowAppList(Profile* profile) {} |
| 51 | 53 |
| 52 void AppListService::DismissAppList() {} | 54 void AppListService::DismissAppList() {} |
| 53 | 55 |
| 54 void AppListService::SetAppListProfile( | 56 void AppListService::SetAppListProfile( |
| 55 const base::FilePath& profile_file_path) {} | 57 const base::FilePath& profile_file_path) {} |
| 56 | 58 |
| 57 Profile* AppListService::GetCurrentAppListProfile() { return NULL; } | 59 Profile* AppListService::GetCurrentAppListProfile() { return NULL; } |
| 58 | 60 |
| 59 bool AppListService::IsAppListVisible() const { return false; } | 61 bool AppListService::IsAppListVisible() const { return false; } |
| 60 | 62 |
| 61 void AppListService::EnableAppList() {} | 63 void AppListService::EnableAppList() {} |
| 62 | 64 |
| 63 AppListControllerDelegate* AppListService::CreateControllerDelegate() { | 65 AppListControllerDelegate* AppListService::CreateControllerDelegate() { |
| 64 return NULL; | 66 return NULL; |
| 65 } | 67 } |
| OLD | NEW |