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

Side by Side Diff: chrome/browser/media/media_permission.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_MEDIA_MEDIA_PERMISSION_H_ 5 #ifndef CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_
6 #define CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_ 6 #define CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "components/content_settings/core/common/content_settings.h" 11 #include "components/content_settings/core/common/content_settings.h"
11 #include "components/content_settings/core/common/content_settings_types.h" 12 #include "components/content_settings/core/common/content_settings_types.h"
12 #include "content/public/common/media_stream_request.h" 13 #include "content/public/common/media_stream_request.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 class MediaStreamDevicePermissionContext; 16 class MediaStreamDevicePermissionContext;
16 class Profile; 17 class Profile;
17 18
18 // Represents a permission for microphone/camera access. 19 // Represents a permission for microphone/camera access.
19 class MediaPermission { 20 class MediaPermission {
(...skipping 28 matching lines...) Expand all
48 bool is_insecure_pepper_request_; 49 bool is_insecure_pepper_request_;
49 const GURL requesting_origin_; 50 const GURL requesting_origin_;
50 const GURL embedding_origin_; 51 const GURL embedding_origin_;
51 const std::string device_id_; 52 const std::string device_id_;
52 Profile* const profile_; 53 Profile* const profile_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(MediaPermission); 55 DISALLOW_COPY_AND_ASSIGN(MediaPermission);
55 }; 56 };
56 57
57 #endif // CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_ 58 #endif // CHROME_BROWSER_MEDIA_MEDIA_PERMISSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/media_device_id_salt.h ('k') | chrome/browser/media/media_stream_camera_permission_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698