| Index: chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
|
| index 977fa5007f23530a75eac64a93f4a73044bf6f16..d5e662576b61c7ded09e8aca8b79d6fa26e89116 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
|
| +++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
|
| @@ -50,7 +50,10 @@ std::string GetTrackerTitle(const FileTracker& tracker);
|
| SyncStatusCode GDataErrorCodeToSyncStatusCode(
|
| google_apis::GDataErrorCode error);
|
|
|
| -std::string RemovePrefix(const std::string& str, const std::string& prefix);
|
| +// Returns true if |str| starts with |prefix|, and removes |prefix| from |str|.
|
| +// If |out| is not NULL, the result is stored in it.
|
| +bool RemovePrefix(const std::string& str, const std::string& prefix,
|
| + std::string* out);
|
|
|
| template <typename Src, typename Dest>
|
| void AppendContents(const Src& src, Dest* dest) {
|
|
|