Searched refs:AppResource (Results 1 – 6 of 6) sorted by relevance
304 AppResource::AppResource() in AppResource() function in google_apis::AppResource309 AppResource::~AppResource() {} in ~AppResource()312 void AppResource::RegisterJSONConverter( in RegisterJSONConverter()313 base::JSONValueConverter<AppResource>* converter) { in RegisterJSONConverter()314 converter->RegisterStringField(kId, &AppResource::application_id_); in RegisterJSONConverter()315 converter->RegisterStringField(kName, &AppResource::name_); in RegisterJSONConverter()316 converter->RegisterStringField(kObjectType, &AppResource::object_type_); in RegisterJSONConverter()317 converter->RegisterStringField(kProductId, &AppResource::product_id_); in RegisterJSONConverter()318 converter->RegisterBoolField(kSupportsCreate, &AppResource::supports_create_); in RegisterJSONConverter()319 converter->RegisterBoolField(kRemovable, &AppResource::removable_); in RegisterJSONConverter()[all …]
136 friend class AppResource; variable147 class AppResource {149 ~AppResource();150 AppResource();155 base::JSONValueConverter<AppResource>* converter);158 static scoped_ptr<AppResource> CreateFrom(const base::Value& value);254 friend class base::internal::RepeatedMessageConverter<AppResource>;274 DISALLOW_COPY_AND_ASSIGN(AppResource);296 const ScopedVector<AppResource>& items() const { return items_; } in items()301 void set_items(ScopedVector<AppResource> items) { in set_items()[all …]
47 const AppResource& app1 = *applist->items()[0]; in TEST()83 const AppResource& app2 = *applist->items()[1]; in TEST()
172 scoped_ptr<google_apis::AppResource> foo_app(new google_apis::AppResource); in TEST()183 scoped_ptr<google_apis::AppResource> bar_app(new google_apis::AppResource); in TEST()193 ScopedVector<google_apis::AppResource> app_resources; in TEST()670 scoped_ptr<google_apis::AppResource> baz_app(new google_apis::AppResource); in TEST_F()679 ScopedVector<google_apis::AppResource> app_resources; in TEST_F()722 scoped_ptr<google_apis::AppResource> foo_app(new google_apis::AppResource); in TEST_F()732 ScopedVector<google_apis::AppResource> app_resources; in TEST_F()
159 const google_apis::AppResource& app = *app_list.items()[i]; in UpdateFromAppList()
351 const google_apis::AppResource* app = parsed_app_list->items()[i]; in OnGetAppList()