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

Side by Side Diff: chrome/browser/system_monitor/test_removable_storage_notifications.h

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_ 5 #ifndef CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
6 #define CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_ 6 #define CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
7 7
8 #include "chrome/browser/system_monitor/removable_storage_notifications.h" 8 #include "chrome/browser/system_monitor/removable_storage_notifications.h"
9 9
10 namespace chrome { 10 namespace chrome {
(...skipping 22 matching lines...) Expand all
33 virtual bool GetMTPStorageInfoFromDeviceId( 33 virtual bool GetMTPStorageInfoFromDeviceId(
34 const std::string& storage_device_id, 34 const std::string& storage_device_id,
35 string16* device_location, 35 string16* device_location,
36 string16* storage_object_id) const OVERRIDE; 36 string16* storage_object_id) const OVERRIDE;
37 #endif 37 #endif
38 38
39 // TODO(gbillock): Update tests to use receiver and 39 // TODO(gbillock): Update tests to use receiver and
40 // get rid of ProcessAttach/ProcessDetach here. 40 // get rid of ProcessAttach/ProcessDetach here.
41 void ProcessAttach(const std::string& id, 41 void ProcessAttach(const std::string& id,
42 const string16& name, 42 const string16& name,
43 const FilePath::StringType& location); 43 const base::FilePath::StringType& location);
44 44
45 void ProcessDetach(const std::string& id); 45 void ProcessDetach(const std::string& id);
46 46
47 virtual Receiver* receiver() const OVERRIDE; 47 virtual Receiver* receiver() const OVERRIDE;
48 48
49 virtual void EjectDevice( 49 virtual void EjectDevice(
50 const std::string& device_id, 50 const std::string& device_id,
51 base::Callback<void(RemovableStorageNotifications::EjectStatus)> callback) 51 base::Callback<void(RemovableStorageNotifications::EjectStatus)> callback)
52 OVERRIDE; 52 OVERRIDE;
53 53
54 const std::string& ejected_device() const { return ejected_device_; } 54 const std::string& ejected_device() const { return ejected_device_; }
55 55
56 private: 56 private:
57 std::string ejected_device_; 57 std::string ejected_device_;
58 }; 58 };
59 59
60 } // namespace test 60 } // namespace test
61 } // namespace chrome 61 } // namespace chrome
62 62
63 #endif // CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_ 63 #endif // CHROME_BROWSER_SYSTEM_MONITOR_TEST_REMOVABLE_STORAGE_NOTIFICATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698