Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / apps / drive / drive_app_uninstall_sync_service.h
blob1e89c250b68daf6f55fde6182212e2b3de6c01a5
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.
5 #ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_
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;
14 // Invoked when user installs a default Drive app.
15 virtual void UntrackUninstalledDriveApp(
16 const std::string& drive_app_id) = 0;
18 protected:
19 virtual ~DriveAppUninstallSyncService() {}
22 #endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_UNINSTALL_SYNC_SERVICE_H_