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

Side by Side Diff: chrome/browser/extensions/api/notification_provider/notification_provider_api.cc

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 years, 8 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 #include "chrome/browser/extensions/api/notification_provider/notification_provi der_api.h" 5 #include "chrome/browser/extensions/api/notification_provider/notification_provi der_api.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/guid.h" 10 #include "base/guid.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 NotificationProviderGetAllNotifiersFunction:: 290 NotificationProviderGetAllNotifiersFunction::
291 NotificationProviderGetAllNotifiersFunction() { 291 NotificationProviderGetAllNotifiersFunction() {
292 } 292 }
293 293
294 NotificationProviderGetAllNotifiersFunction:: 294 NotificationProviderGetAllNotifiersFunction::
295 ~NotificationProviderGetAllNotifiersFunction() { 295 ~NotificationProviderGetAllNotifiersFunction() {
296 } 296 }
297 297
298 ExtensionFunction::ResponseAction 298 ExtensionFunction::ResponseAction
299 NotificationProviderGetAllNotifiersFunction::Run() { 299 NotificationProviderGetAllNotifiersFunction::Run() {
300 std::vector<linked_ptr<api::notification_provider::Notifier> > notifiers; 300 std::vector<api::notification_provider::Notifier> notifiers;
301 301
302 return RespondNow(ArgumentList( 302 return RespondNow(ArgumentList(
303 api::notification_provider::GetAllNotifiers::Results::Create(notifiers))); 303 api::notification_provider::GetAllNotifiers::Results::Create(notifiers)));
304 } 304 }
305 305
306 } // namespace extensions 306 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/mdns/mdns_api.cc ('k') | chrome/browser/extensions/api/notifications/notifications_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698