DriveAppIcon 69 chrome/browser/drive/drive_api_util.cc scoped_ptr<google_apis::DriveAppIcon> DriveAppIcon 71 chrome/browser/drive/drive_api_util.cc scoped_ptr<google_apis::DriveAppIcon> resource( DriveAppIcon 72 chrome/browser/drive/drive_api_util.cc new google_apis::DriveAppIcon); DriveAppIcon 75 chrome/browser/drive/drive_api_util.cc resource->set_category(google_apis::DriveAppIcon::UNKNOWN); DriveAppIcon 78 chrome/browser/drive/drive_api_util.cc resource->set_category(google_apis::DriveAppIcon::DOCUMENT); DriveAppIcon 81 chrome/browser/drive/drive_api_util.cc resource->set_category(google_apis::DriveAppIcon::APPLICATION); DriveAppIcon 84 chrome/browser/drive/drive_api_util.cc resource->set_category(google_apis::DriveAppIcon::SHARED_DOCUMENT); DriveAppIcon 129 chrome/browser/drive/drive_api_util.cc ScopedVector<google_apis::DriveAppIcon> icons; DriveAppIcon 30 chrome/browser/drive/drive_api_util.h class DriveAppIcon; DriveAppIcon 189 chrome/browser/drive/drive_api_util_unittest.cc const ScopedVector<google_apis::DriveAppIcon>& icons = app_resource.icons(); DriveAppIcon 191 chrome/browser/drive/drive_api_util_unittest.cc const google_apis::DriveAppIcon& icon = *icons[0]; DriveAppIcon 192 chrome/browser/drive/drive_api_util_unittest.cc EXPECT_EQ(google_apis::DriveAppIcon::DOCUMENT, icon.category()); DriveAppIcon 164 chrome/browser/drive/drive_app_registry.cc const google_apis::DriveAppIcon& icon = *app.icons()[j]; DriveAppIcon 167 chrome/browser/drive/drive_app_registry.cc if (icon.category() == google_apis::DriveAppIcon::APPLICATION) DriveAppIcon 170 chrome/browser/drive/drive_app_registry.cc if (icon.category() == google_apis::DriveAppIcon::DOCUMENT) DriveAppIcon 196 google_apis/drive/drive_api_parser.cc DriveAppIcon::IconCategory category; DriveAppIcon 201 google_apis/drive/drive_api_parser.cc { DriveAppIcon::DOCUMENT, "document" }, DriveAppIcon 202 google_apis/drive/drive_api_parser.cc { DriveAppIcon::APPLICATION, "application" }, DriveAppIcon 203 google_apis/drive/drive_api_parser.cc { DriveAppIcon::SHARED_DOCUMENT, "documentShared" }, DriveAppIcon 268 google_apis/drive/drive_api_parser.cc DriveAppIcon::DriveAppIcon() : category_(UNKNOWN), icon_side_length_(0) {} DriveAppIcon 270 google_apis/drive/drive_api_parser.cc DriveAppIcon::~DriveAppIcon() {} DriveAppIcon 273 google_apis/drive/drive_api_parser.cc void DriveAppIcon::RegisterJSONConverter( DriveAppIcon 274 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<DriveAppIcon>* converter) { DriveAppIcon 277 google_apis/drive/drive_api_parser.cc &DriveAppIcon::category_, DriveAppIcon 278 google_apis/drive/drive_api_parser.cc &DriveAppIcon::GetIconCategory); DriveAppIcon 279 google_apis/drive/drive_api_parser.cc converter->RegisterIntField(kSize, &DriveAppIcon::icon_side_length_); DriveAppIcon 281 google_apis/drive/drive_api_parser.cc &DriveAppIcon::icon_url_, DriveAppIcon 286 google_apis/drive/drive_api_parser.cc scoped_ptr<DriveAppIcon> DriveAppIcon::CreateFrom(const base::Value& value) { DriveAppIcon 287 google_apis/drive/drive_api_parser.cc scoped_ptr<DriveAppIcon> resource(new DriveAppIcon()); DriveAppIcon 290 google_apis/drive/drive_api_parser.cc return scoped_ptr<DriveAppIcon>(); DriveAppIcon 295 google_apis/drive/drive_api_parser.cc bool DriveAppIcon::Parse(const base::Value& value) { DriveAppIcon 296 google_apis/drive/drive_api_parser.cc base::JSONValueConverter<DriveAppIcon> converter; DriveAppIcon 305 google_apis/drive/drive_api_parser.cc bool DriveAppIcon::GetIconCategory(const base::StringPiece& category, DriveAppIcon 306 google_apis/drive/drive_api_parser.cc DriveAppIcon::IconCategory* result) { DriveAppIcon 86 google_apis/drive/drive_api_parser.h class DriveAppIcon { DriveAppIcon 95 google_apis/drive/drive_api_parser.h DriveAppIcon(); DriveAppIcon 96 google_apis/drive/drive_api_parser.h ~DriveAppIcon(); DriveAppIcon 101 google_apis/drive/drive_api_parser.h base::JSONValueConverter<DriveAppIcon>* converter); DriveAppIcon 104 google_apis/drive/drive_api_parser.h static scoped_ptr<DriveAppIcon> CreateFrom(const base::Value& value); DriveAppIcon 135 google_apis/drive/drive_api_parser.h friend class base::internal::RepeatedMessageConverter<DriveAppIcon>; DriveAppIcon 142 google_apis/drive/drive_api_parser.h DISALLOW_COPY_AND_ASSIGN(DriveAppIcon); DriveAppIcon 224 google_apis/drive/drive_api_parser.h const ScopedVector<DriveAppIcon>& icons() const { DriveAppIcon 261 google_apis/drive/drive_api_parser.h void set_icons(ScopedVector<DriveAppIcon> icons) { DriveAppIcon 290 google_apis/drive/drive_api_parser.h ScopedVector<DriveAppIcon> icons_; DriveAppIcon 74 google_apis/drive/drive_api_parser_unittest.cc const DriveAppIcon& icon1 = *app1.icons()[0]; DriveAppIcon 75 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(DriveAppIcon::APPLICATION, icon1.category()); DriveAppIcon 79 google_apis/drive/drive_api_parser_unittest.cc const DriveAppIcon& icon6 = *app1.icons()[5]; DriveAppIcon 80 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(DriveAppIcon::SHARED_DOCUMENT, icon6.category()); DriveAppIcon 109 google_apis/drive/drive_api_parser_unittest.cc const DriveAppIcon& icon2 = *app2.icons()[1]; DriveAppIcon 110 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(DriveAppIcon::DOCUMENT, icon2.category());