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

Unified Diff: chrome/browser/chromeos/drive/drive_test_util.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/drive/drive_test_util.h ('k') | chrome/browser/chromeos/drive/drive_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_test_util.cc
diff --git a/chrome/browser/chromeos/drive/drive_test_util.cc b/chrome/browser/chromeos/drive/drive_test_util.cc
index 27336fc139ee5899329f4267ed060b9a43dc65e3..e031cb8e8e035fce8adec7d1fdcf8d74ccb0c534 100644
--- a/chrome/browser/chromeos/drive/drive_test_util.cc
+++ b/chrome/browser/chromeos/drive/drive_test_util.cc
@@ -10,7 +10,7 @@
#include "chrome/browser/google_apis/drive_api_parser.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace gdata {
+namespace drive {
namespace test_util {
DriveCacheEntry ToCacheEntry(int cache_state) {
@@ -108,13 +108,13 @@ void LoadChangeFeed(const std::string& relative_path,
int64 start_changestamp,
int64 root_feed_changestamp) {
std::string error;
- scoped_ptr<Value> document = test_util::LoadJSONFile(relative_path);
+ scoped_ptr<Value> document = gdata::test_util::LoadJSONFile(relative_path);
ASSERT_TRUE(document.get());
ASSERT_TRUE(document->GetType() == Value::TYPE_DICTIONARY);
- scoped_ptr<DocumentFeed> document_feed(
- DocumentFeed::ExtractAndParse(*document));
+ scoped_ptr<gdata::DocumentFeed> document_feed(
+ gdata::DocumentFeed::ExtractAndParse(*document));
ASSERT_TRUE(document_feed.get());
- ScopedVector<DocumentFeed> feed_list;
+ ScopedVector<gdata::DocumentFeed> feed_list;
feed_list.push_back(document_feed.release());
GURL unused;
@@ -126,4 +126,4 @@ void LoadChangeFeed(const std::string& relative_path,
}
} // namespace test_util
-} // namespace gdata
+} // namespace drive
« no previous file with comments | « chrome/browser/chromeos/drive/drive_test_util.h ('k') | chrome/browser/chromeos/drive/drive_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698