| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/chromeos/file_system_provider/service.h" | 5 #include "chrome/browser/chromeos/file_system_provider/service.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 8 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| 9 #include "base/prefs/scoped_user_pref_update.h" | 11 #include "base/prefs/scoped_user_pref_update.h" |
| 10 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 11 #include "base/values.h" | 13 #include "base/values.h" |
| 12 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 14 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
| 13 #include "chrome/browser/chromeos/file_system_provider/observer.h" | 15 #include "chrome/browser/chromeos/file_system_provider/observer.h" |
| 14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" | 16 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" |
| 15 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 17 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
| 16 #include "chrome/browser/chromeos/file_system_provider/registry.h" | 18 #include "chrome/browser/chromeos/file_system_provider/registry.h" |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 } | 457 } |
| 456 | 458 |
| 457 void Service::OnWatcherListChanged( | 459 void Service::OnWatcherListChanged( |
| 458 const ProvidedFileSystemInfo& file_system_info, | 460 const ProvidedFileSystemInfo& file_system_info, |
| 459 const Watchers& watchers) { | 461 const Watchers& watchers) { |
| 460 registry_->RememberFileSystem(file_system_info, watchers); | 462 registry_->RememberFileSystem(file_system_info, watchers); |
| 461 } | 463 } |
| 462 | 464 |
| 463 } // namespace file_system_provider | 465 } // namespace file_system_provider |
| 464 } // namespace chromeos | 466 } // namespace chromeos |
| OLD | NEW |