| 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/drive_file_system_util.h" | 5 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
| 16 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
| 19 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 20 #include "base/stringprintf.h" | 20 #include "base/stringprintf.h" |
| 21 #include "chrome/browser/chromeos/gdata/drive.pb.h" | |
| 22 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" | 21 #include "chrome/browser/chromeos/gdata/drive_file_system_interface.h" |
| 23 #include "chrome/browser/chromeos/gdata/drive_system_service.h" | 22 #include "chrome/browser/chromeos/gdata/drive_system_service.h" |
| 24 #include "chrome/browser/chromeos/gdata/file_write_helper.h" | 23 #include "chrome/browser/chromeos/gdata/file_write_helper.h" |
| 24 #include "chrome/browser/google_apis/drive.pb.h" |
| 25 #include "chrome/browser/profiles/profile.h" | 25 #include "chrome/browser/profiles/profile.h" |
| 26 #include "chrome/browser/ui/browser.h" | 26 #include "chrome/browser/ui/browser.h" |
| 27 #include "chrome/browser/ui/browser_finder.h" | 27 #include "chrome/browser/ui/browser_finder.h" |
| 28 #include "chrome/common/chrome_version_info.h" | 28 #include "chrome/common/chrome_version_info.h" |
| 29 #include "chrome/common/pref_names.h" | 29 #include "chrome/common/pref_names.h" |
| 30 #include "chrome/common/url_constants.h" | 30 #include "chrome/common/url_constants.h" |
| 31 #include "net/base/escape.h" | 31 #include "net/base/escape.h" |
| 32 | 32 |
| 33 using content::BrowserThread; | 33 using content::BrowserThread; |
| 34 | 34 |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 return DRIVE_FILE_ERROR_ABORT; | 411 return DRIVE_FILE_ERROR_ABORT; |
| 412 case GDATA_NO_CONNECTION: | 412 case GDATA_NO_CONNECTION: |
| 413 return DRIVE_FILE_ERROR_NO_CONNECTION; | 413 return DRIVE_FILE_ERROR_NO_CONNECTION; |
| 414 default: | 414 default: |
| 415 return DRIVE_FILE_ERROR_FAILED; | 415 return DRIVE_FILE_ERROR_FAILED; |
| 416 } | 416 } |
| 417 } | 417 } |
| 418 | 418 |
| 419 } // namespace util | 419 } // namespace util |
| 420 } // namespace gdata | 420 } // namespace gdata |
| OLD | NEW |