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

Side by Side Diff: content/child/background_sync/background_sync_provider.h

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/background_sync/background_sync_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ 5 #ifndef CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_
6 #define CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ 6 #define CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacks, 74 scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacks,
75 BackgroundSyncError error, 75 BackgroundSyncError error,
76 const SyncRegistrationPtr& options); 76 const SyncRegistrationPtr& options);
77 void GetRegistrationsCallback( 77 void GetRegistrationsCallback(
78 scoped_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks, 78 scoped_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks,
79 BackgroundSyncError error, 79 BackgroundSyncError error,
80 const mojo::Array<SyncRegistrationPtr>& registrations); 80 const mojo::Array<SyncRegistrationPtr>& registrations);
81 void GetPermissionStatusCallback( 81 void GetPermissionStatusCallback(
82 scoped_ptr<blink::WebSyncGetPermissionStatusCallbacks> callbacks, 82 scoped_ptr<blink::WebSyncGetPermissionStatusCallbacks> callbacks,
83 BackgroundSyncError error, 83 BackgroundSyncError error,
84 PermissionStatus status); 84 permission::Status status);
85 void NotifyWhenDoneCallback( 85 void NotifyWhenDoneCallback(
86 scoped_ptr<blink::WebSyncNotifyWhenDoneCallbacks> callbacks, 86 scoped_ptr<blink::WebSyncNotifyWhenDoneCallbacks> callbacks,
87 BackgroundSyncError error, 87 BackgroundSyncError error,
88 BackgroundSyncState state); 88 BackgroundSyncState state);
89 89
90 // Helper method that returns an initialized BackgroundSyncServicePtr. 90 // Helper method that returns an initialized BackgroundSyncServicePtr.
91 BackgroundSyncServicePtr& GetBackgroundSyncServicePtr(); 91 BackgroundSyncServicePtr& GetBackgroundSyncServicePtr();
92 92
93 ServiceRegistry* service_registry_; 93 ServiceRegistry* service_registry_;
94 BackgroundSyncServicePtr background_sync_service_; 94 BackgroundSyncServicePtr background_sync_service_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncProvider); 96 DISALLOW_COPY_AND_ASSIGN(BackgroundSyncProvider);
97 }; 97 };
98 98
99 } // namespace content 99 } // namespace content
100 100
101 #endif // CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_ 101 #endif // CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/background_sync/background_sync_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698