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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 68173019: Remove static initializer from AppListView::SetNextPaintCallback(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: other nit Created 7 years, 1 month 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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 21 matching lines...) Expand all
32 static void RecordAppListAppLaunch(); 32 static void RecordAppListAppLaunch();
33 virtual ~AppListServiceImpl(); 33 virtual ~AppListServiceImpl();
34 34
35 // Constructor used for testing. 35 // Constructor used for testing.
36 AppListServiceImpl(const CommandLine& command_line, 36 AppListServiceImpl(const CommandLine& command_line,
37 PrefService* local_state, 37 PrefService* local_state,
38 scoped_ptr<ProfileStore> profile_store, 38 scoped_ptr<ProfileStore> profile_store,
39 scoped_ptr<KeepAliveService> keep_alive_service); 39 scoped_ptr<KeepAliveService> keep_alive_service);
40 40
41 // AppListService overrides: 41 // AppListService overrides:
42 virtual void SetAppListNextPaintCallback( 42 virtual void SetAppListNextPaintCallback(void (*callback)()) OVERRIDE;
43 const base::Closure& callback) OVERRIDE;
44 virtual void HandleFirstRun() OVERRIDE; 43 virtual void HandleFirstRun() OVERRIDE;
45 virtual void Init(Profile* initial_profile) OVERRIDE; 44 virtual void Init(Profile* initial_profile) OVERRIDE;
46 virtual base::FilePath GetProfilePath( 45 virtual base::FilePath GetProfilePath(
47 const base::FilePath& user_data_dir) OVERRIDE; 46 const base::FilePath& user_data_dir) OVERRIDE;
48 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; 47 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE;
49 virtual void Show() OVERRIDE; 48 virtual void Show() OVERRIDE;
50 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; 49 virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
51 50
52 protected: 51 protected:
53 AppListServiceImpl(); 52 AppListServiceImpl();
(...skipping 30 matching lines...) Expand all
84 scoped_ptr<ProfileStore> profile_store_; 83 scoped_ptr<ProfileStore> profile_store_;
85 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; 84 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
86 CommandLine command_line_; 85 CommandLine command_line_;
87 PrefService* local_state_; 86 PrefService* local_state_;
88 scoped_ptr<ProfileLoader> profile_loader_; 87 scoped_ptr<ProfileLoader> profile_loader_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); 89 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl);
91 }; 90 };
92 91
93 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 92 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_disabled.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698