1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "chrome/browser/media_galleries/media_scan_types.h" 6 7MediaGalleryScanResult::MediaGalleryScanResult() 8 : audio_count(0), 9 image_count(0), 10 video_count(0) { 11} 12 13bool IsEmptyScanResult(const MediaGalleryScanResult& scan_result) { 14 return (scan_result.audio_count == 0 && 15 scan_result.image_count == 0 && 16 scan_result.video_count == 0); 17} 18