alarms 38 chrome/browser/apps/ephemeral_app_browsertest.cc namespace alarms = extensions::api::alarms; alarms 178 chrome/browser/apps/ephemeral_app_browsertest.cc alarms::Alarm dummy_alarm; alarms 183 chrome/browser/apps/ephemeral_app_browsertest.cc scoped_ptr<Event> event(new Event(alarms::OnAlarm::kEventName, alarms 220 chrome/browser/apps/ephemeral_app_browsertest.cc extension->id(), alarms::OnAlarm::kEventName)); alarms 27 chrome/browser/extensions/api/alarms/alarm_manager.cc namespace alarms = api::alarms; alarms 50 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<Event> event(new Event(alarms::OnAlarm::kEventName, alarms 68 chrome/browser/extensions/api/alarms/alarm_manager.cc std::vector<Alarm> alarms; alarms 73 chrome/browser/extensions/api/alarms/alarm_manager.cc api::alarms::Alarm::Populate(*alarm_dict, alarm.js_alarm.get())) { alarms 77 chrome/browser/extensions/api/alarms/alarm_manager.cc alarms.push_back(alarm); alarms 80 chrome/browser/extensions/api/alarms/alarm_manager.cc return alarms; alarms 83 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::ListValue> AlarmsToValue(const std::vector<Alarm>& alarms) { alarms 85 chrome/browser/extensions/api/alarms/alarm_manager.cc for (size_t i = 0; i < alarms.size(); ++i) { alarms 87 chrome/browser/extensions/api/alarms/alarm_manager.cc alarms[i].js_alarm->ToValue().Pass(); alarms 89 chrome/browser/extensions/api/alarms/alarm_manager.cc base::CreateTimeDeltaValue(alarms[i].granularity)); alarms 297 chrome/browser/extensions/api/alarms/alarm_manager.cc scoped_ptr<base::Value> alarms; alarms 300 chrome/browser/extensions/api/alarms/alarm_manager.cc alarms.reset(AlarmsToValue(list->second).release()); alarms 302 chrome/browser/extensions/api/alarms/alarm_manager.cc alarms.reset(AlarmsToValue(std::vector<Alarm>()).release()); alarms 303 chrome/browser/extensions/api/alarms/alarm_manager.cc storage->SetExtensionValue(extension_id, kRegisteredAlarms, alarms.Pass()); alarms 447 chrome/browser/extensions/api/alarms/alarm_manager.cc : js_alarm(new api::alarms::Alarm()) { alarms 451 chrome/browser/extensions/api/alarms/alarm_manager.cc const api::alarms::AlarmCreateInfo& create_info, alarms 454 chrome/browser/extensions/api/alarms/alarm_manager.cc : js_alarm(new api::alarms::Alarm()) { alarms 39 chrome/browser/extensions/api/alarms/alarm_manager.h const api::alarms::AlarmCreateInfo& create_info, alarms 44 chrome/browser/extensions/api/alarms/alarm_manager.h linked_ptr<api::alarms::Alarm> js_alarm; alarms 15 chrome/browser/extensions/api/alarms/alarms_api.cc namespace alarms = extensions::api::alarms; alarms 31 chrome/browser/extensions/api/alarms/alarms_api.cc const alarms::AlarmCreateInfo& create_info, alarms 103 chrome/browser/extensions/api/alarms/alarms_api.cc scoped_ptr<alarms::Create::Params> params( alarms 104 chrome/browser/extensions/api/alarms/alarms_api.cc alarms::Create::Params::Create(*args_)); alarms 134 chrome/browser/extensions/api/alarms/alarms_api.cc scoped_ptr<alarms::Get::Params> params(alarms::Get::Params::Create(*args_)); alarms 149 chrome/browser/extensions/api/alarms/alarms_api.cc results_ = alarms::Get::Results::Create(*alarm->js_alarm); alarms 163 chrome/browser/extensions/api/alarms/alarms_api.cc void AlarmsGetAllFunction::Callback(const AlarmList* alarms) { alarms 164 chrome/browser/extensions/api/alarms/alarms_api.cc if (alarms) { alarms 165 chrome/browser/extensions/api/alarms/alarms_api.cc std::vector<linked_ptr<extensions::api::alarms::Alarm> > create_arg; alarms 166 chrome/browser/extensions/api/alarms/alarms_api.cc create_arg.reserve(alarms->size()); alarms 167 chrome/browser/extensions/api/alarms/alarms_api.cc for (size_t i = 0, size = alarms->size(); i < size; ++i) { alarms 168 chrome/browser/extensions/api/alarms/alarms_api.cc create_arg.push_back((*alarms)[i].js_alarm); alarms 170 chrome/browser/extensions/api/alarms/alarms_api.cc results_ = alarms::GetAll::Results::Create(create_arg); alarms 178 chrome/browser/extensions/api/alarms/alarms_api.cc scoped_ptr<alarms::Clear::Params> params( alarms 179 chrome/browser/extensions/api/alarms/alarms_api.cc alarms::Clear::Params::Create(*args_)); alarms 61 chrome/browser/extensions/api/alarms/alarms_api.h void Callback(const AlarmList* alarms); alarms 22 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc typedef extensions::api::alarms::Alarm JsAlarm; alarms 113 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { alarms 115 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_FALSE(alarms); alarms 261 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { alarms 262 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_TRUE(alarms); alarms 263 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(1u, alarms->size()); alarms 264 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_DOUBLE_EQ(430000, (*alarms)[0].js_alarm->scheduled_time); alarms 337 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc std::vector<linked_ptr<JsAlarm> > alarms = ToAlarmList(result.get()); alarms 338 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(0u, alarms.size()); alarms 347 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc std::vector<linked_ptr<JsAlarm> > alarms = ToAlarmList(result.get()); alarms 348 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(2u, alarms.size()); alarms 351 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc JsAlarm* alarm = alarms[0].get(); alarms 353 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc alarm = alarms[1].get(); alarms 360 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { alarms 362 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_TRUE(alarms); alarms 363 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(1u, alarms->size()); alarms 364 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_THAT((*alarms)[0].js_alarm->period_in_minutes, alarms 369 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ExtensionAlarmsTest* test, const AlarmManager::AlarmList* alarms) { alarms 370 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_TRUE(alarms); alarms 371 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(1u, alarms->size()); alarms 372 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_THAT((*alarms)[0].js_alarm->period_in_minutes, alarms 423 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc const AlarmManager::AlarmList* alarms) { alarms 424 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_FALSE(alarms); alarms 428 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ExtensionAlarmsTest* test, const AlarmManager::AlarmList* alarms) { alarms 429 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc ASSERT_TRUE(alarms); alarms 430 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc EXPECT_EQ(3u, alarms->size()); alarms 169 ppapi/c/dev/ppb_alarms_dev.h struct PP_Alarms_Alarm_Array_Dev* alarms, alarms 26 ppapi/cpp/dev/alarms_dev.h namespace alarms { alarms 158 ppapi/cpp/dev/alarms_dev.h struct CallbackOutputTraits<alarms::Alarm_Dev> alarms 159 ppapi/cpp/dev/alarms_dev.h : public internal::StructWrapperOutputTraits<alarms::Alarm_Dev> { alarms 163 ppapi/cpp/dev/alarms_dev.h struct CallbackOutputTraits<alarms::AlarmCreateInfo_Dev> alarms 164 ppapi/cpp/dev/alarms_dev.h : public internal::StructWrapperOutputTraits<alarms::AlarmCreateInfo_Dev> { alarms 1835 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M33_PPB_Alarms_Dev_GetAll(PP_Instance instance, struct PP_Alarms_Alarm_Array_Dev* alarms, struct PP_ArrayOutput* array_allocator, struct PP_CompletionCallback* callback) { alarms 1837 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->GetAll(instance, alarms, *array_allocator, *callback); alarms 4742 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .GetAll = (int32_t (*)(PP_Instance instance, struct PP_Alarms_Alarm_Array_Dev* alarms, struct PP_ArrayOutput array_allocator, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Alarms_Dev_GetAll, alarms 39 ppapi/thunk/ppb_alarms_dev_thunk.cc PP_Alarms_Alarm_Array_Dev* alarms,