| 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 "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/format_macros.h" | 11 #include "base/format_macros.h" |
| 12 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
| 13 #include "base/json/json_writer.h" | 13 #include "base/json/json_writer.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
| 16 #include "base/threading/sequenced_worker_pool.h" | 16 #include "base/threading/sequenced_worker_pool.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "chrome/browser/chromeos/gdata/drive_api_parser.h" | |
| 19 #include "chrome/browser/chromeos/gdata/drive_cache.h" | 18 #include "chrome/browser/chromeos/gdata/drive_cache.h" |
| 20 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" | 19 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" |
| 21 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" | 20 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" |
| 22 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" | 21 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" |
| 23 #include "chrome/browser/chromeos/gdata/gdata_util.h" | |
| 24 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" | 22 #include "chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h" |
| 23 #include "chrome/browser/google_apis/drive_api_parser.h" |
| 24 #include "chrome/browser/google_apis/gdata_util.h" |
| 25 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
| 26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
| 27 | 27 |
| 28 using content::BrowserThread; | 28 using content::BrowserThread; |
| 29 | 29 |
| 30 namespace gdata { | 30 namespace gdata { |
| 31 | 31 |
| 32 namespace { | 32 namespace { |
| 33 | 33 |
| 34 const FilePath::CharType kAccountMetadataFile[] = | 34 const FilePath::CharType kAccountMetadataFile[] = |
| (...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 dir_iter != changed_dirs.end(); ++dir_iter) { | 960 dir_iter != changed_dirs.end(); ++dir_iter) { |
| 961 FOR_EACH_OBSERVER(Observer, observers_, | 961 FOR_EACH_OBSERVER(Observer, observers_, |
| 962 OnDirectoryChanged(*dir_iter)); | 962 OnDirectoryChanged(*dir_iter)); |
| 963 } | 963 } |
| 964 } | 964 } |
| 965 | 965 |
| 966 return error; | 966 return error; |
| 967 } | 967 } |
| 968 | 968 |
| 969 } // namespace gdata | 969 } // namespace gdata |
| OLD | NEW |