OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/media_galleries/fileapi/picasa/picasa_finder.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "chrome/browser/storage_monitor/storage_info.h" | 11 #include "chrome/browser/storage_monitor/storage_info.h" |
12 #include "chrome/common/media_galleries/picasa_types.h" | 12 #include "chrome/common/media_galleries/picasa_types.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 | 14 |
15 namespace picasa { | 15 namespace picasa { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void PicasaFinder::FindPicasaDatabase( | 57 void PicasaFinder::FindPicasaDatabase( |
58 const PicasaFinder::DeviceIDCallback& callback) { | 58 const PicasaFinder::DeviceIDCallback& callback) { |
59 content::BrowserThread::PostTaskAndReplyWithResult( | 59 content::BrowserThread::PostTaskAndReplyWithResult( |
60 content::BrowserThread::FILE, | 60 content::BrowserThread::FILE, |
61 FROM_HERE, | 61 FROM_HERE, |
62 base::Bind(&FindPicasaDatabaseOnFileThread), | 62 base::Bind(&FindPicasaDatabaseOnFileThread), |
63 base::Bind(&FinishOnOriginalThread, callback)); | 63 base::Bind(&FinishOnOriginalThread, callback)); |
64 } | 64 } |
65 | 65 |
66 } // namespace picasa | 66 } // namespace picasa |
OLD | NEW |