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

Side by Side Diff: chrome/browser/chromeos/cros/mount_library.h

Issue 6348006: Add IsBootPath to MountLibrary. Additional boot path check in imageburner so ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CROS_MOUNT_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOUNT_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOUNT_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOUNT_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void MountChanged(MountLibrary* obj, 52 virtual void MountChanged(MountLibrary* obj,
53 MountEventType evt, 53 MountEventType evt,
54 const std::string& path) = 0; 54 const std::string& path) = 0;
55 }; 55 };
56 56
57 virtual ~MountLibrary() {} 57 virtual ~MountLibrary() {}
58 virtual void AddObserver(Observer* observer) = 0; 58 virtual void AddObserver(Observer* observer) = 0;
59 virtual void RemoveObserver(Observer* observer) = 0; 59 virtual void RemoveObserver(Observer* observer) = 0;
60 virtual const DiskVector& disks() const = 0; 60 virtual const DiskVector& disks() const = 0;
61 virtual bool MountPath(const char* device_path) = 0; 61 virtual bool MountPath(const char* device_path) = 0;
62 virtual bool IsBootPath(const char* device_path) = 0;
62 63
63 // Factory function, creates a new instance and returns ownership. 64 // Factory function, creates a new instance and returns ownership.
64 // For normal usage, access the singleton via CrosLibrary::Get(). 65 // For normal usage, access the singleton via CrosLibrary::Get().
65 static MountLibrary* GetImpl(bool stub); 66 static MountLibrary* GetImpl(bool stub);
66 }; 67 };
67 68
68 } // namespace chromeos 69 } // namespace chromeos
69 70
70 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOUNT_LIBRARY_H_ 71 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOUNT_LIBRARY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mount_library.cc » ('j') | chrome/browser/chromeos/dom_ui/imageburner_ui.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698