OLD | NEW |
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 #include "apps/saved_files_service.h" | 5 #include "apps/saved_files_service.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "apps/saved_files_service_factory.h" | 9 #include "apps/saved_files_service_factory.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/value_conversions.h" | 12 #include "base/value_conversions.h" |
13 #include "chrome/browser/extensions/extension_host.h" | 13 #include "chrome/browser/extensions/extension_host.h" |
14 #include "chrome/browser/extensions/extension_prefs.h" | 14 #include "chrome/browser/extensions/extension_prefs.h" |
15 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
16 #include "chrome/browser/extensions/extension_system.h" | 16 #include "chrome/browser/extensions/extension_system.h" |
17 #include "chrome/common/extensions/permissions/api_permission.h" | 17 #include "chrome/common/extensions/permissions/api_permission.h" |
18 #include "chrome/common/extensions/permissions/permission_set.h" | 18 #include "chrome/common/extensions/permissions/permission_set.h" |
19 | 19 |
20 namespace apps { | 20 namespace apps { |
21 | 21 |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 void SavedFilesService::SetLruSizeForTest(int size) { | 448 void SavedFilesService::SetLruSizeForTest(int size) { |
449 g_max_saved_file_entries = size; | 449 g_max_saved_file_entries = size; |
450 } | 450 } |
451 | 451 |
452 // static | 452 // static |
453 void SavedFilesService::ClearLruSizeForTest() { | 453 void SavedFilesService::ClearLruSizeForTest() { |
454 g_max_saved_file_entries = kMaxSavedFileEntries; | 454 g_max_saved_file_entries = kMaxSavedFileEntries; |
455 } | 455 } |
456 | 456 |
457 } // namespace apps | 457 } // namespace apps |
OLD | NEW |