OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StorageMonitor
(Results
1 - 25
of
46
) sorted by null
1
2
/external/chromium_org/chrome/browser/storage_monitor/
storage_monitor.cc
13
StorageMonitor
::Receiver::~Receiver() {
16
class
StorageMonitor
::ReceiverImpl : public
StorageMonitor
::Receiver {
18
explicit ReceiverImpl(
StorageMonitor
* notifications)
30
StorageMonitor
* notifications_;
33
void
StorageMonitor
::ReceiverImpl::ProcessAttach(const StorageInfo& info) {
37
void
StorageMonitor
::ReceiverImpl::ProcessDetach(const std::string& id) {
41
void
StorageMonitor
::ReceiverImpl::MarkInitialized() {
45
StorageMonitor
*
StorageMonitor
::GetInstance()
[
all
...]
image_capture_device_manager.h
37
void SetNotifications(
StorageMonitor
::Receiver* notifications);
42
base::Callback<void(
StorageMonitor
::EjectStatus)> callback);
test_storage_monitor_win.cc
32
StorageMonitor
::Receiver* TestStorageMonitorWin::receiver() const {
33
return
StorageMonitor
::receiver();
test_storage_monitor.cc
20
:
StorageMonitor
(),
33
scoped_ptr<
StorageMonitor
> pass_monitor(monitor);
51
scoped_ptr<
StorageMonitor
> monitor(return_monitor);
63
browser_process->SetStorageMonitor(scoped_ptr<
StorageMonitor
>());
68
StorageMonitor
* monitor = g_browser_process->storage_monitor();
86
StorageMonitor
::MarkInitialized();
121
StorageMonitor
::Receiver* TestStorageMonitor::receiver() const {
122
return
StorageMonitor
::receiver();
media_transfer_protocol_device_observer_linux.h
29
//
StorageMonitor
.
34
StorageMonitor
::Receiver* receiver,
44
base::Callback<void(
StorageMonitor
::EjectStatus)> callback);
49
StorageMonitor
::Receiver* receiver,
83
StorageMonitor
::Receiver* const notifications_;
storage_monitor.h
47
class
StorageMonitor
{
68
//
StorageMonitor
interface.
69
static
StorageMonitor
* Create();
75
static
StorageMonitor
* GetInstance();
77
virtual ~
StorageMonitor
();
138
StorageMonitor
();
test_storage_monitor.h
12
class TestStorageMonitor : public
StorageMonitor
{
34
// Remove the singleton
StorageMonitor
from the TestingBrowserProcess.
60
base::Callback<void(
StorageMonitor
::EjectStatus)> callback)
storage_monitor_win.h
21
class StorageMonitorWin : public
StorageMonitor
{
28
//
StorageMonitor
:
43
friend
StorageMonitor
*
StorageMonitor
::Create();
volume_mount_watcher_win.h
26
//
StorageMonitor
about the device attach/detach events.
52
void SetNotifications(
StorageMonitor
::Receiver* notifications);
55
base::Callback<void(
StorageMonitor
::EjectStatus)> callback);
114
StorageMonitor
::Receiver* notifications_;
portable_device_watcher_win.h
91
void SetNotifications(
StorageMonitor
::Receiver* notifications);
94
base::Callback<void(
StorageMonitor
::EjectStatus)> callback);
137
StorageMonitor
::Receiver* storage_notifications_;
volume_mount_watcher_win.cc
218
base::Callback<void(
StorageMonitor
::EjectStatus)> callback,
230
base::Bind(callback,
StorageMonitor
::EJECT_FAILURE));
243
base::Bind(callback,
StorageMonitor
::EJECT_FAILURE));
255
UMA_HISTOGRAM_ENUMERATION("
StorageMonitor
.EjectWinLock",
258
UMA_HISTOGRAM_ENUMERATION("
StorageMonitor
.EjectWinLock",
277
base::Bind(callback,
StorageMonitor
::EJECT_IN_USE));
293
base::Bind(callback,
StorageMonitor
::EJECT_OK));
305
base::Bind(callback,
StorageMonitor
::EJECT_FAILURE));
314
base::Bind(callback,
StorageMonitor
::EJECT_FAILURE));
319
base::Bind(callback,
StorageMonitor
::EJECT_OK))
[
all
...]
media_transfer_protocol_device_observer_linux.cc
117
StorageMonitor
::Receiver* receiver,
129
StorageMonitor
::Receiver* receiver,
169
base::Callback<void(
StorageMonitor
::EjectStatus)> callback) {
172
callback.Run(
StorageMonitor
::EJECT_NO_SUCH_DEVICE);
179
callback.Run(
StorageMonitor
::EJECT_OK);
media_transfer_protocol_device_observer_linux_unittest.cc
58
StorageMonitor
::Receiver* receiver,
104
StorageMonitor
* monitor = g_browser_process->storage_monitor();
storage_monitor_linux.cc
200
StorageMonitor
::EjectStatus EjectPathOnFileThread(
214
return
StorageMonitor
::EJECT_FAILURE;
221
return
StorageMonitor
::EJECT_FAILURE;
228
return
StorageMonitor
::EJECT_IN_USE;
230
return
StorageMonitor
::EJECT_FAILURE;
232
return
StorageMonitor
::EJECT_OK;
499
StorageMonitor
*
StorageMonitor
::Create() {
media_storage_util.cc
45
StorageMonitor
::GetInstance()->GetAllAvailableStorages();
146
StorageMonitor
* monitor =
StorageMonitor
::GetInstance();
172
// good values from
StorageMonitor
.
239
StorageMonitor
::GetInstance()->GetAllAvailableStorages();
/external/chromium_org/chrome/browser/extensions/api/system_storage/
system_storage_api.cc
46
StorageMonitor
::GetInstance()->EnsureInitialized(base::Bind(
55
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
56
StorageMonitor
* monitor =
StorageMonitor
::GetInstance();
58
StorageMonitor
::GetInstance()->GetDeviceIdForTransientId(
62
HandleResponse(
StorageMonitor
::EJECT_NO_SUCH_DEVICE);
73
StorageMonitor
::EjectStatus status) {
77
case
StorageMonitor
::EJECT_OK:
80
case
StorageMonitor
::EJECT_IN_USE:
83
case
StorageMonitor
::EJECT_NO_SUCH_DEVICE
[
all
...]
system_storage_eject_apitest.cc
59
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
60
StorageMonitor
::GetInstance()->receiver()->ProcessAttach(
67
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
68
StorageMonitor
::GetInstance()->receiver()->ProcessDetach(
storage_info_provider.cc
25
unit->id =
StorageMonitor
::GetInstance()->GetTransientIdForDeviceId(
64
// Register the |do_query_info_callback| callback to
StorageMonitor
.
65
// See the comments of
StorageMonitor
::EnsureInitialized about when the
67
StorageMonitor
::GetInstance()->EnsureInitialized(do_query_info_callback);
80
StorageMonitor
::GetInstance()->GetAllAvailableStorages();
94
StorageMonitor
::GetInstance()->GetAllAvailableStorages();
97
StorageMonitor
::GetInstance()->GetDeviceIdForTransientId(
system_storage_apitest.cc
57
StorageMonitor
::GetInstance()->GetDeviceIdForTransientId(
89
StorageMonitor
::GetInstance()->receiver()->ProcessAttach(
95
StorageMonitor
::GetInstance()->receiver()->ProcessDetach(id);
112
StorageMonitor
::GetInstance()->GetTransientIdForDeviceId(
135
StorageMonitor
::GetInstance()->GetTransientIdForDeviceId(
system_storage_api.h
44
void HandleResponse(
StorageMonitor
::EjectStatus status);
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
media_galleries_private_apitest.cc
91
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
94
StorageMonitor
::GetInstance()->receiver()->ProcessAttach(info);
99
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
100
StorageMonitor
::GetInstance()->receiver()->ProcessDetach(device_id_);
media_galleries_private_event_router.cc
28
StorageMonitor
* monitor =
StorageMonitor
::GetInstance();
43
StorageMonitor
::GetInstance()->AddObserver(this);
50
if (
StorageMonitor
::GetInstance())
51
StorageMonitor
::GetInstance()->RemoveObserver(this);
/external/chromium_org/chrome/browser/extensions/api/system_info/
system_info_api.cc
103
StorageMonitor
* storage_monitor =
StorageMonitor
::GetInstance();
126
DCHECK(
StorageMonitor
::GetInstance()->IsInitialized());
127
StorageMonitor
::GetInstance()->AddObserver(this);
155
StorageMonitor
::GetInstance()->RemoveObserver(this);
173
args->Append(new base::StringValue(
StorageMonitor
::GetInstance()->
239
StorageMonitor
::GetInstance()->EnsureInitialized(
248
StorageMonitor
::GetInstance()->EnsureInitialized(
/external/chromium_org/chrome/test/base/
testing_browser_process.h
115
virtual
StorageMonitor
* storage_monitor() OVERRIDE;
132
void SetStorageMonitor(scoped_ptr<
StorageMonitor
> storage_monitor);
167
scoped_ptr<
StorageMonitor
> storage_monitor_;
/external/chromium_org/chrome/browser/
browser_process.h
44
class
StorageMonitor
;
218
virtual
StorageMonitor
* storage_monitor() = 0;
Completed in 688 milliseconds
1
2