| 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 namespace file_system_provider { | 21 namespace file_system_provider { |
| 22 | 22 |
| 23 // Key names for preferences. | 23 // Key names for preferences. |
| 24 extern const char kPrefKeyFileSystemId[]; | 24 extern const char kPrefKeyFileSystemId[]; |
| 25 extern const char kPrefKeyDisplayName[]; | 25 extern const char kPrefKeyDisplayName[]; |
| 26 extern const char kPrefKeyWritable[]; | 26 extern const char kPrefKeyWritable[]; |
| 27 extern const char kPrefKeySupportsNotifyTag[]; | 27 extern const char kPrefKeySupportsNotifyTag[]; |
| 28 extern const char kPrefKeyObservedEntries[]; | 28 extern const char kPrefKeyObservedEntries[]; |
| 29 extern const char kPrefKeyObservedEntryEntryPath[]; | 29 extern const char kPrefKeyObservedEntryEntryPath[]; |
| 30 extern const char kPrefKeyObservedEntryRecursive[]; | 30 extern const char kPrefKeyObservedEntryRecursive[]; |
| 31 extern const char kPrefKeyObservedEntryPersistentOrigins[]; |
| 31 extern const char kPrefKeyObservedEntryLastTag[]; | 32 extern const char kPrefKeyObservedEntryLastTag[]; |
| 32 | 33 |
| 33 class ProvidedFileSystemInfo; | 34 class ProvidedFileSystemInfo; |
| 34 | 35 |
| 35 // Registers preferences to remember registered file systems between reboots. | 36 // Registers preferences to remember registered file systems between reboots. |
| 36 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 37 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 37 | 38 |
| 38 // Remembers and restores file systems in a persistent storage. | 39 // Remembers and restores file systems in a persistent storage. |
| 39 class Registry : public RegistryInterface { | 40 class Registry : public RegistryInterface { |
| 40 public: | 41 public: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 55 | 56 |
| 56 private: | 57 private: |
| 57 Profile* profile_; // Not owned. | 58 Profile* profile_; // Not owned. |
| 58 DISALLOW_COPY_AND_ASSIGN(Registry); | 59 DISALLOW_COPY_AND_ASSIGN(Registry); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace file_system_provider | 62 } // namespace file_system_provider |
| 62 } // namespace chromeos | 63 } // namespace chromeos |
| 63 | 64 |
| 64 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ | 65 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REGISTRY_H_ |
| OLD | NEW |