Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / apps / drive / drive_app_uninstall_sync_service.h
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 #ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_
7
8 class DriveAppUninstallSyncService {
9  public:
10   // Invoked when user uninstalls a default Drive app.
11   virtual void TrackUninstalledDriveApp(
12       const std::string& drive_app_id) = 0;
13
14   // Invoked when user installs a default Drive app.
15   virtual void UntrackUninstalledDriveApp(
16       const std::string& drive_app_id) = 0;
17
18  protected:
19   virtual ~DriveAppUninstallSyncService() {}
20 };
21
22 #endif  // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_