| 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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 dir_iter != changed_dirs.end(); ++dir_iter) { | 904 dir_iter != changed_dirs.end(); ++dir_iter) { |
| 905 FOR_EACH_OBSERVER(Observer, observers_, | 905 FOR_EACH_OBSERVER(Observer, observers_, |
| 906 OnDirectoryChanged(*dir_iter)); | 906 OnDirectoryChanged(*dir_iter)); |
| 907 } | 907 } |
| 908 } | 908 } |
| 909 | 909 |
| 910 return error; | 910 return error; |
| 911 } | 911 } |
| 912 | 912 |
| 913 } // namespace gdata | 913 } // namespace gdata |
| OLD | NEW |