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

Side by Side Diff: chrome/browser/chromeos/fileapi/file_access_permissions.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h"
13 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // In a thread safe manner maintains the set of paths allowed to access for 18 // In a thread safe manner maintains the set of paths allowed to access for
19 // each extension. 19 // each extension.
20 class FileAccessPermissions { 20 class FileAccessPermissions {
21 public: 21 public:
22 FileAccessPermissions(); 22 FileAccessPermissions();
23 virtual ~FileAccessPermissions(); 23 virtual ~FileAccessPermissions();
(...skipping 13 matching lines...) Expand all
37 37
38 mutable base::Lock lock_; // Synchronize all access to path_map_. 38 mutable base::Lock lock_; // Synchronize all access to path_map_.
39 PathAccessMap path_map_; 39 PathAccessMap path_map_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(FileAccessPermissions); 41 DISALLOW_COPY_AND_ASSIGN(FileAccessPermissions);
42 }; 42 };
43 43
44 } // namespace chromeos 44 } // namespace chromeos
45 45
46 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_ 46 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_ACCESS_PERMISSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698