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

Side by Side Diff: apps/saved_files_service.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « apps/launcher.cc ('k') | apps/saved_files_service_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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/containers/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/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
14 #include "chrome/browser/extensions/extension_host.h" 14 #include "chrome/browser/extensions/extension_host.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "content/public/browser/notification_service.h" 16 #include "content/public/browser/notification_service.h"
17 #include "extensions/browser/extension_prefs.h" 17 #include "extensions/browser/extension_prefs.h"
18 #include "extensions/browser/extension_system.h"
18 #include "extensions/common/permissions/api_permission.h" 19 #include "extensions/common/permissions/api_permission.h"
19 #include "extensions/common/permissions/permission_set.h" 20 #include "extensions/common/permissions/permission_set.h"
20 21
21 namespace apps { 22 namespace apps {
22 23
23 using extensions::APIPermission; 24 using extensions::APIPermission;
24 using extensions::Extension; 25 using extensions::Extension;
25 using extensions::ExtensionHost; 26 using extensions::ExtensionHost;
26 using extensions::ExtensionPrefs; 27 using extensions::ExtensionPrefs;
27 28
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 void SavedFilesService::SetLruSizeForTest(int size) { 449 void SavedFilesService::SetLruSizeForTest(int size) {
449 g_max_saved_file_entries = size; 450 g_max_saved_file_entries = size;
450 } 451 }
451 452
452 // static 453 // static
453 void SavedFilesService::ClearLruSizeForTest() { 454 void SavedFilesService::ClearLruSizeForTest() {
454 g_max_saved_file_entries = kMaxSavedFileEntries; 455 g_max_saved_file_entries = kMaxSavedFileEntries;
455 } 456 }
456 457
457 } // namespace apps 458 } // namespace apps
OLDNEW
« no previous file with comments | « apps/launcher.cc ('k') | apps/saved_files_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698