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

Unified Diff: components/sync/driver/sync_stopped_reporter.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/driver/sync_service_utils.cc ('k') | components/sync/driver/sync_stopped_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_stopped_reporter.h
diff --git a/components/sync_driver/sync_stopped_reporter.h b/components/sync/driver/sync_stopped_reporter.h
similarity index 95%
rename from components/sync_driver/sync_stopped_reporter.h
rename to components/sync/driver/sync_stopped_reporter.h
index 0d527c8d4c4bb88043457dab9d3f53a0e11c7903..27ab60ece9d9e8fee88ad363abde456b372883a9 100644
--- a/components/sync_driver/sync_stopped_reporter.h
+++ b/components/sync/driver/sync_stopped_reporter.h
@@ -23,15 +23,12 @@ namespace browser_sync {
// clean up the fetcher_ pointer when the request completes.
class SyncStoppedReporter : public net::URLFetcherDelegate {
public:
- enum Result {
- RESULT_SUCCESS,
- RESULT_ERROR,
- RESULT_TIMEOUT
- };
+ enum Result { RESULT_SUCCESS, RESULT_ERROR, RESULT_TIMEOUT };
typedef base::Callback<void(const Result&)> ResultCallback;
- SyncStoppedReporter(const GURL& sync_service_url,
+ SyncStoppedReporter(
+ const GURL& sync_service_url,
const std::string& user_agent,
const scoped_refptr<net::URLRequestContextGetter>& request_context,
const ResultCallback& callback);
« no previous file with comments | « components/sync/driver/sync_service_utils.cc ('k') | components/sync/driver/sync_stopped_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698