| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/metrics/histogram.h" | 5 #include "base/metrics/histogram.h" |
| 6 #include "chrome/browser/chromeos/gdata/gdata_files.h" | 6 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h" |
| 7 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" | 7 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" |
| 8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 9 | 9 |
| 10 using content::BrowserThread; | 10 using content::BrowserThread; |
| 11 | 11 |
| 12 namespace gdata { | 12 namespace gdata { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 // Recursively extracts the paths set of all sub-directories of |entry|. | 16 // Recursively extracts the paths set of all sub-directories of |entry|. |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // If the code above fails to parse a feed, any GDataEntry instance | 321 // If the code above fails to parse a feed, any GDataEntry instance |
| 322 // added to |file_by_url| is not managed by a GDataDirectory instance, | 322 // added to |file_by_url| is not managed by a GDataDirectory instance, |
| 323 // so we need to explicitly release them here. | 323 // so we need to explicitly release them here. |
| 324 STLDeleteValues(file_map); | 324 STLDeleteValues(file_map); |
| 325 } | 325 } |
| 326 | 326 |
| 327 return error; | 327 return error; |
| 328 } | 328 } |
| 329 | 329 |
| 330 } // namespace gdata | 330 } // namespace gdata |
| OLD | NEW |