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

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

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 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 #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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Callback for asynchronous profile load. 80 // Callback for asynchronous profile load.
81 void OnProfileLoaded(int profile_load_sequence_id, 81 void OnProfileLoaded(int profile_load_sequence_id,
82 Profile* profile, 82 Profile* profile,
83 Profile::CreateStatus status); 83 Profile::CreateStatus status);
84 84
85 // ProfileInfoCacheObserver overrides: 85 // ProfileInfoCacheObserver overrides:
86 virtual void OnProfileWillBeRemoved( 86 virtual void OnProfileWillBeRemoved(
87 const base::FilePath& profile_path) OVERRIDE; 87 const base::FilePath& profile_path) OVERRIDE;
88 88
89 scoped_ptr<ProfileStore> profile_store_; 89 scoped_ptr<ProfileStore> profile_store_;
90 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
91 base::CommandLine command_line_; 90 base::CommandLine command_line_;
92 PrefService* local_state_; 91 PrefService* local_state_;
93 scoped_ptr<ProfileLoader> profile_loader_; 92 scoped_ptr<ProfileLoader> profile_loader_;
94 93
94 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
95
95 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); 96 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl);
96 }; 97 };
97 98
98 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 99 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698