Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / chromeos / file_system_provider / provided_file_system_info.h
blob3b88aecff2bb13a54e7ddb63ef948a96d3803f4a
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H_
8 #include <string>
10 #include "base/files/file_path.h"
12 namespace chromeos {
13 namespace file_system_provider {
15 // Contains information about the provided file system instance.
16 class ProvidedFileSystemInfo {
17 public:
18 ProvidedFileSystemInfo();
19 ProvidedFileSystemInfo(const std::string& extension_id,
20 int file_system_id,
21 const std::string& file_system_name,
22 const base::FilePath& mount_path);
24 ~ProvidedFileSystemInfo();
26 const std::string& extension_id() const { return extension_id_; }
27 int file_system_id() const { return file_system_id_; }
28 const std::string& file_system_name() const { return file_system_name_; }
29 const base::FilePath& mount_path() const { return mount_path_; }
31 private:
32 // ID of the extension providing this file system.
33 std::string extension_id_;
35 // ID of the file system, used internally.
36 int file_system_id_;
38 // Name of the file system, can be rendered in the UI.
39 std::string file_system_name_;
41 // Mount path of the underlying file system.
42 base::FilePath mount_path_;
45 } // namespace file_system_provider
46 } // namespace chromeos
48 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H_