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

Side by Side Diff: chrome/browser/sync_file_system/local/local_file_sync_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
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 "chrome/browser/sync_file_system/local/local_file_sync_service.h" 5 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_system.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/sync_file_system/file_change.h" 10 #include "chrome/browser/sync_file_system/file_change.h"
12 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" 11 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h"
13 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" 12 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
14 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" 13 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h"
15 #include "chrome/browser/sync_file_system/local_change_processor.h" 14 #include "chrome/browser/sync_file_system/local_change_processor.h"
16 #include "chrome/browser/sync_file_system/logger.h" 15 #include "chrome/browser/sync_file_system/logger.h"
17 #include "chrome/browser/sync_file_system/sync_file_metadata.h" 16 #include "chrome/browser/sync_file_system/sync_file_metadata.h"
18 #include "content/public/browser/browser_context.h" 17 #include "content/public/browser/browser_context.h"
19 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/site_instance.h" 19 #include "content/public/browser/site_instance.h"
21 #include "content/public/browser/storage_partition.h" 20 #include "content/public/browser/storage_partition.h"
21 #include "extensions/browser/extension_system.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 #include "webkit/browser/fileapi/file_system_context.h" 23 #include "webkit/browser/fileapi/file_system_context.h"
24 #include "webkit/browser/fileapi/file_system_url.h" 24 #include "webkit/browser/fileapi/file_system_url.h"
25 #include "webkit/common/blob/scoped_file.h" 25 #include "webkit/common/blob/scoped_file.h"
26 26
27 using content::BrowserThread; 27 using content::BrowserThread;
28 using fileapi::FileSystemURL; 28 using fileapi::FileSystemURL;
29 29
30 namespace sync_file_system { 30 namespace sync_file_system {
31 31
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 481
482 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor( 482 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor(
483 const FileSystemURL& url) { 483 const FileSystemURL& url) {
484 if (!get_local_change_processor_.is_null()) 484 if (!get_local_change_processor_.is_null())
485 return get_local_change_processor_.Run(url.origin()); 485 return get_local_change_processor_.Run(url.origin());
486 DCHECK(local_change_processor_); 486 DCHECK(local_change_processor_);
487 return local_change_processor_; 487 return local_change_processor_;
488 } 488 }
489 489
490 } // namespace sync_file_system 490 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698