OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "webkit/browser/chromeos/fileapi/file_access_permissions.h" | 5 #include "chrome/browser/chromeos/fileapi/file_access_permissions.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 FileAccessPermissions::FileAccessPermissions() {} | 12 FileAccessPermissions::FileAccessPermissions() {} |
13 | 13 |
14 FileAccessPermissions::~FileAccessPermissions() {} | 14 FileAccessPermissions::~FileAccessPermissions() {} |
15 | 15 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 return false; | 49 return false; |
50 } | 50 } |
51 | 51 |
52 void FileAccessPermissions::RevokePermissions( | 52 void FileAccessPermissions::RevokePermissions( |
53 const std::string& extension_id) { | 53 const std::string& extension_id) { |
54 base::AutoLock locker(lock_); | 54 base::AutoLock locker(lock_); |
55 path_map_.erase(extension_id); | 55 path_map_.erase(extension_id); |
56 } | 56 } |
57 | 57 |
58 } | 58 } // namespace chromeos |
OLD | NEW |