blob: 93f460a07e31d77fcf38b123ae34831fe4ad2309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_OBSERVER_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_OBSERVER_H_
#include <string>
#include "base/basictypes.h"
#include "chrome/browser/media_galleries/media_scan_types.h"
class MediaScanManagerObserver {
public:
virtual void OnScanStarted(const std::string& extension_id) {}
virtual void OnScanCancelled(const std::string& extension_id) {}
virtual void OnScanFinished(
const std::string& extension_id,
int gallery_count,
const MediaGalleryScanResult& file_counts) {}
virtual void OnScanError(const std::string& extension_id) {}
};
#endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_MANAGER_OBSERVER_H_
|