Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SERVICES_GCM_GCM_PERMISSION_CONTEXT_H_ | |
| 6 #define CHROME_BROWSER_SERVICES_GCM_GCM_PERMISSION_CONTEXT_H_ | |
| 7 | |
| 8 #include "chrome/browser/services/gcm/permission_context_base.h" | |
| 9 | |
| 10 namespace gcm { | |
| 11 | |
| 12 // Permission context for push messages. | |
| 13 class GCMPermissionContext : public PermissionContextBase { | |
|
jianli
2014/06/20 17:19:29
Should we name this class as PushMessagingPermissi
Miguel Garcia
2014/06/20 20:50:12
Done.
| |
| 14 public: | |
| 15 explicit GCMPermissionContext(Profile* profile); | |
| 16 virtual ~GCMPermissionContext(); | |
| 17 | |
| 18 DISALLOW_COPY_AND_ASSIGN(GCMPermissionContext); | |
|
jianli
2014/06/20 17:19:29
nit: add private scope
Miguel Garcia
2014/06/20 20:50:12
Oops, thanks for catching this one!
| |
| 19 }; | |
| 20 | |
| 21 } // namespace gcm | |
| 22 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_PERMISSION_CONTEXT_H_ | |
| OLD | NEW |