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

Side by Side Diff: chrome/browser/content_settings/permission_context_base.h

Issue 410993002: Componentize content_settings_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed empty DEPS Created 6 years, 5 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 | Annotate | Revision Log
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_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/scoped_ptr_hash_map.h" 9 #include "base/containers/scoped_ptr_hash_map.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/ui/website_settings/permission_bubble_request.h" 12 #include "chrome/browser/ui/website_settings/permission_bubble_request.h"
13 #include "chrome/common/content_settings_types.h" 13 #include "components/content_settings/core/common/content_settings_types.h"
14 #include "components/keyed_service/core/keyed_service.h" 14 #include "components/keyed_service/core/keyed_service.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 class PermissionQueueController; 17 class PermissionQueueController;
18 class PermissionRequestID; 18 class PermissionRequestID;
19 class Profile; 19 class Profile;
20 20
21 namespace content { 21 namespace content {
22 class WebContents; 22 class WebContents;
23 } 23 }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 Profile* profile_; 110 Profile* profile_;
111 const ContentSettingsType permission_type_; 111 const ContentSettingsType permission_type_;
112 base::WeakPtrFactory<PermissionContextBase> weak_factory_; 112 base::WeakPtrFactory<PermissionContextBase> weak_factory_;
113 scoped_ptr<PermissionQueueController> permission_queue_controller_; 113 scoped_ptr<PermissionQueueController> permission_queue_controller_;
114 base::ScopedPtrHashMap<std::string, PermissionBubbleRequest> 114 base::ScopedPtrHashMap<std::string, PermissionBubbleRequest>
115 pending_bubbles_; 115 pending_bubbles_;
116 }; 116 };
117 117
118 #endif // CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_ 118 #endif // CHROME_BROWSER_CONTENT_SETTINGS_PERMISSION_CONTEXT_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698