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

Side by Side Diff: content/browser/notifications/notification_event_dispatcher_impl.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 #ifndef CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_
6 #define CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_ 6 #define CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "content/public/browser/notification_event_dispatcher.h" 9 #include "content/public/browser/notification_event_dispatcher.h"
10 10
(...skipping 11 matching lines...) Expand all
22 int64_t persistent_notification_id, 22 int64_t persistent_notification_id,
23 const GURL& origin, 23 const GURL& origin,
24 int action_index, 24 int action_index,
25 const NotificationClickDispatchCompleteCallback& 25 const NotificationClickDispatchCompleteCallback&
26 dispatch_complete_callback) override; 26 dispatch_complete_callback) override;
27 27
28 private: 28 private:
29 NotificationEventDispatcherImpl(); 29 NotificationEventDispatcherImpl();
30 ~NotificationEventDispatcherImpl() override; 30 ~NotificationEventDispatcherImpl() override;
31 31
32 friend struct DefaultSingletonTraits<NotificationEventDispatcherImpl>; 32 friend struct base::DefaultSingletonTraits<NotificationEventDispatcherImpl>;
33 33
34 DISALLOW_COPY_AND_ASSIGN(NotificationEventDispatcherImpl); 34 DISALLOW_COPY_AND_ASSIGN(NotificationEventDispatcherImpl);
35 }; 35 };
36 36
37 } // namespace content 37 } // namespace content
38 38
39 #endif // CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_ 39 #endif // CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_EVENT_DISPATCHER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/message_port_service.cc ('k') | content/browser/notifications/notification_event_dispatcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698