Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_disabled.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698