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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/callback_tracker.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 11 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/sync_file_system/drive_backend/callback_tracker_interna l.h" 14 #include "chrome/browser/sync_file_system/drive_backend/callback_tracker_interna l.h"
14 15
15 namespace sync_file_system { 16 namespace sync_file_system {
16 namespace drive_backend { 17 namespace drive_backend {
17 18
18 // A helper class to ensure one-shot callback to be called exactly once. 19 // A helper class to ensure one-shot callback to be called exactly once.
19 // 20 //
20 // Usage: 21 // Usage:
21 // class Foo { 22 // class Foo {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 64
64 AbortClosureByHelper helpers_; // Owns AbortHelpers. 65 AbortClosureByHelper helpers_; // Owns AbortHelpers.
65 66
66 DISALLOW_COPY_AND_ASSIGN(CallbackTracker); 67 DISALLOW_COPY_AND_ASSIGN(CallbackTracker);
67 }; 68 };
68 69
69 } // namespace drive_backend 70 } // namespace drive_backend
70 } // namespace sync_file_system 71 } // namespace sync_file_system
71 72
72 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_ 73 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_CALLBACK_TRACKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698