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

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

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint 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
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 CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_ 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
7 7
8 #include "base/gtest_prod_util.h"
8 #include "chrome/browser/permissions/permission_context_base.h" 9 #include "chrome/browser/permissions/permission_context_base.h"
9
10 #include "components/content_settings/core/common/content_settings_types.h" 10 #include "components/content_settings/core/common/content_settings_types.h"
11 11
12 class PermissionRequestID; 12 class PermissionRequestID;
13 class Profile; 13 class Profile;
14 14
15 // Permission context for push messages. 15 // Permission context for push messages.
16 class PushMessagingPermissionContext : public PermissionContextBase { 16 class PushMessagingPermissionContext : public PermissionContextBase {
17 public: 17 public:
18 explicit PushMessagingPermissionContext(Profile* profile); 18 explicit PushMessagingPermissionContext(Profile* profile);
19 ~PushMessagingPermissionContext() override; 19 ~PushMessagingPermissionContext() override;
(...skipping 28 matching lines...) Expand all
48 Profile* profile_; 48 Profile* profile_;
49 49
50 // Must be the last member, to ensure that it will be 50 // Must be the last member, to ensure that it will be
51 // destroyed first, which will invalidate weak pointers 51 // destroyed first, which will invalidate weak pointers
52 base::WeakPtrFactory<PushMessagingPermissionContext> weak_factory_ui_thread_; 52 base::WeakPtrFactory<PushMessagingPermissionContext> weak_factory_ui_thread_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(PushMessagingPermissionContext); 54 DISALLOW_COPY_AND_ASSIGN(PushMessagingPermissionContext);
55 }; 55 };
56 56
57 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_ 57 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_PERMISSION_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.h ('k') | chrome/browser/safe_browsing/local_database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698