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

Side by Side Diff: chrome/browser/sync_file_system/sync_file_system_service.cc

Issue 46853004: Move ExtensionPrefs and friends to extensions/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update app_shell Created 6 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/sync_file_system_service.h" 5 #include "chrome/browser/sync_file_system/sync_file_system_service.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "chrome/browser/chrome_notification_types.h" 14 #include "chrome/browser/chrome_notification_types.h"
15 #include "chrome/browser/extensions/api/sync_file_system/extension_sync_event_ob server.h" 15 #include "chrome/browser/extensions/api/sync_file_system/extension_sync_event_ob server.h"
16 #include "chrome/browser/extensions/api/sync_file_system/sync_file_system_api_he lpers.h" 16 #include "chrome/browser/extensions/api/sync_file_system/sync_file_system_api_he lpers.h"
17 #include "chrome/browser/extensions/extension_prefs.h"
18 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/sync/profile_sync_service.h" 18 #include "chrome/browser/sync/profile_sync_service.h"
20 #include "chrome/browser/sync/profile_sync_service_factory.h" 19 #include "chrome/browser/sync/profile_sync_service_factory.h"
21 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" 20 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h"
22 #include "chrome/browser/sync_file_system/logger.h" 21 #include "chrome/browser/sync_file_system/logger.h"
23 #include "chrome/browser/sync_file_system/sync_direction.h" 22 #include "chrome/browser/sync_file_system/sync_direction.h"
24 #include "chrome/browser/sync_file_system/sync_event_observer.h" 23 #include "chrome/browser/sync_file_system/sync_event_observer.h"
25 #include "chrome/browser/sync_file_system/sync_file_metadata.h" 24 #include "chrome/browser/sync_file_system/sync_file_metadata.h"
26 #include "chrome/browser/sync_file_system/sync_process_runner.h" 25 #include "chrome/browser/sync_file_system/sync_process_runner.h"
27 #include "chrome/browser/sync_file_system/sync_status_code.h" 26 #include "chrome/browser/sync_file_system/sync_status_code.h"
28 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" 27 #include "chrome/browser/sync_file_system/syncable_file_system_util.h"
29 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h" 28 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h"
30 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/notification_details.h" 30 #include "content/public/browser/notification_details.h"
32 #include "content/public/browser/notification_service.h" 31 #include "content/public/browser/notification_service.h"
33 #include "content/public/browser/storage_partition.h" 32 #include "content/public/browser/storage_partition.h"
33 #include "extensions/browser/extension_prefs.h"
34 #include "extensions/common/extension.h" 34 #include "extensions/common/extension.h"
35 #include "extensions/common/manifest_constants.h" 35 #include "extensions/common/manifest_constants.h"
36 #include "url/gurl.h" 36 #include "url/gurl.h"
37 #include "webkit/browser/fileapi/file_system_context.h" 37 #include "webkit/browser/fileapi/file_system_context.h"
38 38
39 using content::BrowserThread; 39 using content::BrowserThread;
40 using extensions::Extension; 40 using extensions::Extension;
41 using extensions::ExtensionPrefs; 41 using extensions::ExtensionPrefs;
42 using fileapi::FileSystemURL; 42 using fileapi::FileSystemURL;
43 using fileapi::FileSystemURLSet; 43 using fileapi::FileSystemURLSet;
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 v2_remote_service_.get())); 763 v2_remote_service_.get()));
764 v2_remote_service_->AddServiceObserver(v2_remote_syncer.get()); 764 v2_remote_service_->AddServiceObserver(v2_remote_syncer.get());
765 v2_remote_service_->AddFileStatusObserver(this); 765 v2_remote_service_->AddFileStatusObserver(this);
766 v2_remote_service_->SetRemoteChangeProcessor(local_service_.get()); 766 v2_remote_service_->SetRemoteChangeProcessor(local_service_.get());
767 remote_sync_runners_.push_back(v2_remote_syncer.release()); 767 remote_sync_runners_.push_back(v2_remote_syncer.release());
768 } 768 }
769 return v2_remote_service_.get(); 769 return v2_remote_service_.get();
770 } 770 }
771 771
772 } // namespace sync_file_system 772 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/tab_contents/render_view_context_menu_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698