Chromium Code Reviews| 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 #include <hash_map> | |
|
marja
2014/07/18 07:34:04
Afaics this is not needed; base/containers/hash_ta
rucifer1217
2014/07/18 09:06:03
I will remove this line at next patch.
| |
| 8 | 9 |
| 9 #include "apps/saved_files_service_factory.h" | 10 #include "apps/saved_files_service_factory.h" |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
| 12 #include "base/value_conversions.h" | 13 #include "base/value_conversions.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" | 14 #include "chrome/browser/chrome_notification_types.h" |
| 14 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 15 #include "content/public/browser/notification_service.h" | 16 #include "content/public/browser/notification_service.h" |
| 16 #include "extensions/browser/extension_host.h" | 17 #include "extensions/browser/extension_host.h" |
| 17 #include "extensions/browser/extension_prefs.h" | 18 #include "extensions/browser/extension_prefs.h" |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 452 void SavedFilesService::SetLruSizeForTest(int size) { | 453 void SavedFilesService::SetLruSizeForTest(int size) { |
| 453 g_max_saved_file_entries = size; | 454 g_max_saved_file_entries = size; |
| 454 } | 455 } |
| 455 | 456 |
| 456 // static | 457 // static |
| 457 void SavedFilesService::ClearLruSizeForTest() { | 458 void SavedFilesService::ClearLruSizeForTest() { |
| 458 g_max_saved_file_entries = kMaxSavedFileEntries; | 459 g_max_saved_file_entries = kMaxSavedFileEntries; |
| 459 } | 460 } |
| 460 | 461 |
| 461 } // namespace apps | 462 } // namespace apps |
| OLD | NEW |