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

Side by Side Diff: content/browser/background_sync/background_sync_registration.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ 5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_
6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ 6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/browser/background_sync/background_sync.pb.h" 14 #include "content/browser/background_sync/background_sync.pb.h"
15 #include "content/browser/background_sync/background_sync_registration_options.h " 15 #include "content/browser/background_sync/background_sync_registration_options.h "
16 #include "content/common/background_sync_service.mojom.h" 16 #include "content/common/background_sync_service.mojom.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h" 18 #include "mojo/public/cpp/bindings/type_converter.h"
19 19
20 namespace content { 20 namespace content {
21 21
22 class CONTENT_EXPORT BackgroundSyncRegistration { 22 class CONTENT_EXPORT BackgroundSyncRegistration {
23 public: 23 public:
24 using RegistrationId = int64_t; 24 using RegistrationId = int64_t;
25 using StateCallback = base::Callback<void(BackgroundSyncState)>; 25 using StateCallback = base::Callback<void(BackgroundSyncState)>;
26 26
27 static const RegistrationId kInitialId; 27 static const RegistrationId kInitialId;
28 28
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 template <> 86 template <>
87 struct CONTENT_EXPORT TypeConverter<content::SyncRegistrationPtr, 87 struct CONTENT_EXPORT TypeConverter<content::SyncRegistrationPtr,
88 content::BackgroundSyncRegistration> { 88 content::BackgroundSyncRegistration> {
89 static content::SyncRegistrationPtr Convert( 89 static content::SyncRegistrationPtr Convert(
90 const content::BackgroundSyncRegistration& input); 90 const content::BackgroundSyncRegistration& input);
91 }; 91 };
92 92
93 } // namespace 93 } // namespace
94 94
95 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_ 95 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_REGISTRATION_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/background_sync/background_sync_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698