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

Side by Side Diff: components/sync_driver/sync_stopped_reporter.h

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_
7 7
8 #include <string>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
10 #include "net/url_request/url_fetcher.h" 12 #include "net/url_request/url_fetcher.h"
11 #include "net/url_request/url_fetcher_delegate.h" 13 #include "net/url_request/url_fetcher_delegate.h"
12 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
13 #include "url/gurl.h" 15 #include "url/gurl.h"
14 16
15 namespace browser_sync { 17 namespace browser_sync {
16 18
17 // Manages informing the sync server that sync has been disabled. 19 // Manages informing the sync server that sync has been disabled.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 72
71 // A callback for request completion or timeout. 73 // A callback for request completion or timeout.
72 ResultCallback callback_; 74 ResultCallback callback_;
73 75
74 DISALLOW_COPY_AND_ASSIGN(SyncStoppedReporter); 76 DISALLOW_COPY_AND_ASSIGN(SyncStoppedReporter);
75 }; 77 };
76 78
77 } // namespace browser_sync 79 } // namespace browser_sync
78 80
79 #endif // COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_ 81 #endif // COMPONENTS_SYNC_DRIVER_SYNC_STOPPED_REPORTER_H_
OLDNEW
« no previous file with comments | « components/sync_driver/sync_prefs_unittest.cc ('k') | components/sync_driver/sync_stopped_reporter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698