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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/request_manager.h

Issue 566863003: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int request_id, 163 int request_id,
164 NotificationManagerInterface::NotificationResult result); 164 NotificationManagerInterface::NotificationResult result);
165 165
166 // Resets the timeout timer for the specified request. 166 // Resets the timeout timer for the specified request.
167 void ResetTimer(int request_id); 167 void ResetTimer(int request_id);
168 168
169 RequestMap requests_; 169 RequestMap requests_;
170 NotificationManagerInterface* notification_manager_; // Not owned. 170 NotificationManagerInterface* notification_manager_; // Not owned.
171 int next_id_; 171 int next_id_;
172 base::TimeDelta timeout_; 172 base::TimeDelta timeout_;
173 ObserverList<Observer> observers_;
173 base::WeakPtrFactory<RequestManager> weak_ptr_factory_; 174 base::WeakPtrFactory<RequestManager> weak_ptr_factory_;
174 ObserverList<Observer> observers_;
175 175
176 DISALLOW_COPY_AND_ASSIGN(RequestManager); 176 DISALLOW_COPY_AND_ASSIGN(RequestManager);
177 }; 177 };
178 178
179 } // namespace file_system_provider 179 } // namespace file_system_provider
180 } // namespace chromeos 180 } // namespace chromeos
181 181
182 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 182 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/camera_presence_notifier.cc ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698