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

Unified Diff: chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc

Issue 384543004: Get rid of DriveEntryKind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some temporary variables and IsHostedDocumentByFileExtension(). Created 6 years, 5 months 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_backend_v1/fake_api_util.cc
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc b/chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc
index ef8a013840afab4051695142b1c811a87dd867d3..e3ee374a6f41c74f7e3172ab95d93793d1064b2f 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc
+++ b/chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc
@@ -10,7 +10,6 @@
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
-#include "google_apis/drive/drive_entry_kinds.h"
#include "webkit/common/blob/scoped_file.h"
namespace sync_file_system {
@@ -253,13 +252,13 @@ scoped_ptr<google_apis::ResourceEntry> FakeAPIUtil::CreateResourceEntry(
switch (resource.type) {
case SYNC_FILE_TYPE_FILE:
- entry->set_kind(google_apis::ENTRY_KIND_FILE);
+ entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_FILE);
break;
case SYNC_FILE_TYPE_DIRECTORY:
- entry->set_kind(google_apis::ENTRY_KIND_FOLDER);
+ entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_FOLDER);
break;
case SYNC_FILE_TYPE_UNKNOWN:
- entry->set_kind(google_apis::ENTRY_KIND_UNKNOWN);
+ entry->set_kind(google_apis::ResourceEntry::ENTRY_KIND_UNKNOWN);
break;
}

Powered by Google App Engine
This is Rietveld 408576698