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

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

Issue 134303006: Revert of Add UMA to track app launcher discoverability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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 16 matching lines...) Expand all
27 27
28 virtual base::FilePath GetProfilePath( 28 virtual base::FilePath GetProfilePath(
29 const base::FilePath& user_data_dir) OVERRIDE { 29 const base::FilePath& user_data_dir) OVERRIDE {
30 return base::FilePath(); 30 return base::FilePath();
31 } 31 }
32 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE {} 32 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE {}
33 33
34 virtual void Show() OVERRIDE {} 34 virtual void Show() OVERRIDE {}
35 virtual void CreateForProfile(Profile* profile) OVERRIDE {} 35 virtual void CreateForProfile(Profile* profile) OVERRIDE {}
36 virtual void ShowForProfile(Profile* profile) OVERRIDE {} 36 virtual void ShowForProfile(Profile* profile) OVERRIDE {}
37 virtual void AutoShowForProfile(Profile* profile) OVERRIDE {}
38 virtual void DismissAppList() OVERRIDE {} 37 virtual void DismissAppList() OVERRIDE {}
39 38
40 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; } 39 virtual Profile* GetCurrentAppListProfile() OVERRIDE { return NULL; }
41 virtual bool IsAppListVisible() const OVERRIDE { return false; } 40 virtual bool IsAppListVisible() const OVERRIDE { return false; }
42 virtual void EnableAppList(Profile* initial_profile, 41 virtual void EnableAppList(Profile* initial_profile) OVERRIDE {}
43 AppListEnableSource enable_source) OVERRIDE {} 42
44 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE { 43 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE {
45 return NULL; 44 return NULL;
46 } 45 }
47 46
48 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { 47 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE {
49 return NULL; 48 return NULL;
50 } 49 }
51 50
52 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled); 51 DISALLOW_COPY_AND_ASSIGN(AppListServiceDisabled);
53 }; 52 };
54 53
55 } // namespace 54 } // namespace
56 55
57 // static 56 // static
58 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) { 57 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) {
59 return AppListServiceDisabled::GetInstance(); 58 return AppListServiceDisabled::GetInstance();
60 } 59 }
61 60
62 // static 61 // static
63 void AppListService::InitAll(Profile* initial_profile) {} 62 void AppListService::InitAll(Profile* initial_profile) {}
64 63
65 // static 64 // static
66 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {} 65 void AppListService::RegisterPrefs(PrefRegistrySimple* registry) {}
67 66
68 // static 67 // static
69 void AppListService::RecordShowTimings(const CommandLine& command_line) {} 68 void AppListService::RecordShowTimings(const CommandLine& command_line) {}
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698