OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/chromeos/arc/arc_downloads_watcher_service.h" | 5 #include "chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_se
rvice.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <iterator> | 10 #include <iterator> |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 363 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
364 | 364 |
365 auto* instance = arc_bridge_service()->file_system()->GetInstanceForMethod( | 365 auto* instance = arc_bridge_service()->file_system()->GetInstanceForMethod( |
366 "RequestMediaScan"); | 366 "RequestMediaScan"); |
367 if (!instance) | 367 if (!instance) |
368 return; | 368 return; |
369 instance->RequestMediaScan(std::move(paths)); | 369 instance->RequestMediaScan(std::move(paths)); |
370 } | 370 } |
371 | 371 |
372 } // namespace arc | 372 } // namespace arc |
OLD | NEW |