| 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_finder.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include "base/base_paths.h" | 11 #include "base/base_paths.h" |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "build/build_config.h" |
| 16 #include "chrome/common/media_galleries/picasa_types.h" | 17 #include "chrome/common/media_galleries/picasa_types.h" |
| 17 #include "components/storage_monitor/storage_info.h" | 18 #include "components/storage_monitor/storage_info.h" |
| 18 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
| 19 | 20 |
| 20 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 21 #include "base/win/registry.h" | 22 #include "base/win/registry.h" |
| 22 #endif | 23 #endif |
| 23 | 24 |
| 24 namespace picasa { | 25 namespace picasa { |
| 25 | 26 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 .AppendASCII(kPicasaDatabaseDirName); | 110 .AppendASCII(kPicasaDatabaseDirName); |
| 110 #elif defined(OS_MACOSX) | 111 #elif defined(OS_MACOSX) |
| 111 return picasa_app_data_path.AppendASCII("Google").AppendASCII("Picasa3") | 112 return picasa_app_data_path.AppendASCII("Google").AppendASCII("Picasa3") |
| 112 .AppendASCII(kPicasaDatabaseDirName); | 113 .AppendASCII(kPicasaDatabaseDirName); |
| 113 #else | 114 #else |
| 114 return base::FilePath(); | 115 return base::FilePath(); |
| 115 #endif | 116 #endif |
| 116 } | 117 } |
| 117 | 118 |
| 118 } // namespace picasa | 119 } // namespace picasa |
| OLD | NEW |