| 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/chromeos/drive/job_list.h" | 5 #include "chrome/browser/chromeos/drive/job_list.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/stringprintf.h" | |
| 9 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/stringprintf.h" |
| 10 | 10 |
| 11 namespace drive { | 11 namespace drive { |
| 12 | 12 |
| 13 std::string JobTypeToString(JobType type) { | 13 std::string JobTypeToString(JobType type) { |
| 14 switch (type){ | 14 switch (type){ |
| 15 case TYPE_GET_ABOUT_RESOURCE: | 15 case TYPE_GET_ABOUT_RESOURCE: |
| 16 return "TYPE_GET_ABOUT_RESOURCE"; | 16 return "TYPE_GET_ABOUT_RESOURCE"; |
| 17 case TYPE_GET_APP_LIST: | 17 case TYPE_GET_APP_LIST: |
| 18 return "TYPE_GET_APP_LIST"; | 18 return "TYPE_GET_APP_LIST"; |
| 19 case TYPE_GET_ALL_RESOURCE_LIST: | 19 case TYPE_GET_ALL_RESOURCE_LIST: |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 case TYPE_DOWNLOAD_FILE: | 128 case TYPE_DOWNLOAD_FILE: |
| 129 case TYPE_UPLOAD_NEW_FILE: | 129 case TYPE_UPLOAD_NEW_FILE: |
| 130 case TYPE_UPLOAD_EXISTING_FILE: | 130 case TYPE_UPLOAD_EXISTING_FILE: |
| 131 break; | 131 break; |
| 132 } | 132 } |
| 133 | 133 |
| 134 return true; | 134 return true; |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace drive | 137 } // namespace drive |
| OLD | NEW |