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

Side by Side Diff: chrome/browser/push_messaging/push_messaging_service_impl.h

Issue 1767423002: [Do not commit] Track revocations in content_settings::Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const content::PushMessagingService::UnregisterCallback&) override; 96 const content::PushMessagingService::UnregisterCallback&) override;
97 blink::WebPushPermissionStatus GetPermissionStatus( 97 blink::WebPushPermissionStatus GetPermissionStatus(
98 const GURL& origin, 98 const GURL& origin,
99 bool user_visible) override; 99 bool user_visible) override;
100 bool SupportNonVisibleMessages() override; 100 bool SupportNonVisibleMessages() override;
101 101
102 // content_settings::Observer implementation. 102 // content_settings::Observer implementation.
103 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, 103 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern,
104 const ContentSettingsPattern& secondary_pattern, 104 const ContentSettingsPattern& secondary_pattern,
105 ContentSettingsType content_type, 105 ContentSettingsType content_type,
106 ContentSetting previous_value,
106 std::string resource_identifier) override; 107 std::string resource_identifier) override;
107 108
108 // KeyedService implementation. 109 // KeyedService implementation.
109 void Shutdown() override; 110 void Shutdown() override;
110 111
111 // BackgroundTrigger implementation. 112 // BackgroundTrigger implementation.
112 base::string16 GetName() override; 113 base::string16 GetName() override;
113 gfx::ImageSkia* GetIcon() override; 114 gfx::ImageSkia* GetIcon() override;
114 void OnMenuClick() override; 115 void OnMenuClick() override;
115 116
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 MessageDispatchedCallback message_dispatched_callback_for_testing_; 236 MessageDispatchedCallback message_dispatched_callback_for_testing_;
236 237
237 scoped_ptr<PushMessagingServiceObserver> push_messaging_service_observer_; 238 scoped_ptr<PushMessagingServiceObserver> push_messaging_service_observer_;
238 239
239 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_; 240 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_;
240 241
241 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl); 242 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl);
242 }; 243 };
243 244
244 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 245 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_uma_util.cc ('k') | chrome/browser/push_messaging/push_messaging_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698