Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_client.h

Issue 11411280: Sync FileSystem: Use app id part of the URL for its directory title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/drive_file_sync_client.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_client.h b/chrome/browser/sync_file_system/drive_file_sync_client.h
index e2b43f6f8b746caa12f6e5e12b4fe1689018c668..9a59433bb2acd61389c5180215fd61a8d13f5c66 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_client.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_client.h
@@ -145,6 +145,9 @@ class DriveFileSyncClient : public base::NonThreadSafe,
const std::string& remote_file_md5,
const GDataErrorCallback& callback);
+ static std::string OriginToDirectoryTitle(const GURL& origin);
+ static GURL DirectoryTitleToOrigin(const std::string& title);
+
private:
friend class DriveFileSyncClientTest;
friend class DriveFileSyncServiceTest;

Powered by Google App Engine
This is Rietveld 408576698