OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/apps/drive/drive_app_provider.h" | 5 #include "chrome/browser/apps/drive/drive_app_provider.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
11 #include "base/location.h" | 13 #include "base/location.h" |
12 #include "base/logging.h" | 14 #include "base/logging.h" |
13 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
14 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
15 #include "base/thread_task_runner_handle.h" | 17 #include "base/thread_task_runner_handle.h" |
16 #include "chrome/browser/apps/drive/drive_app_converter.h" | 18 #include "chrome/browser/apps/drive/drive_app_converter.h" |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 service_bridge_->GetAppRegistry()->UninstallApp( | 327 service_bridge_->GetAppRegistry()->UninstallApp( |
326 drive_app_id, base::Bind(&IgnoreUninstallResult)); | 328 drive_app_id, base::Bind(&IgnoreUninstallResult)); |
327 } else { | 329 } else { |
328 mapping_->AddUninstalledDriveApp(drive_app_id); | 330 mapping_->AddUninstalledDriveApp(drive_app_id); |
329 uninstall_sync_service_->TrackUninstalledDriveApp(drive_app_id); | 331 uninstall_sync_service_->TrackUninstalledDriveApp(drive_app_id); |
330 } | 332 } |
331 | 333 |
332 return; | 334 return; |
333 } | 335 } |
334 } | 336 } |
OLD | NEW |