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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc

Issue 106433007: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/chromeos/extensions/file_manager/private_api_drive.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
index e2ca03968f11b79849b54c9fa81ed10bbcff9b10..08defa5bfe9d83d430b2b2a834017a05ae884c12 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc
@@ -395,13 +395,13 @@ void FileBrowserPrivateSearchDriveFunction::OnSearch(
DCHECK(results.get());
- base::ListValue* entries = new ListValue();
+ base::ListValue* entries = new base::ListValue();
// Convert Drive files to something File API stack can understand.
fileapi::FileSystemInfo info =
fileapi::GetFileSystemInfoForChromeOS(source_url_.GetOrigin());
for (size_t i = 0; i < results->size(); ++i) {
- DictionaryValue* entry = new DictionaryValue();
+ base::DictionaryValue* entry = new base::DictionaryValue();
entry->SetString("fileSystemName", info.name);
entry->SetString("fileSystemRoot", info.root_url.spec());
entry->SetString("fileFullPath", "/" + results->at(i).path.value());
@@ -409,7 +409,7 @@ void FileBrowserPrivateSearchDriveFunction::OnSearch(
entries->Append(entry);
}
- base::DictionaryValue* result = new DictionaryValue();
+ base::DictionaryValue* result = new base::DictionaryValue();
result->Set("entries", entries);
result->SetString("nextFeed", next_link.spec());
@@ -476,7 +476,7 @@ void FileBrowserPrivateSearchDriveMetadataFunction::OnSearchMetadata(
DCHECK(results.get());
- base::ListValue* results_list = new ListValue();
+ base::ListValue* results_list = new base::ListValue();
// Convert Drive files to something File API stack can understand. See
// file_browser_handler_custom_bindings.cc and
@@ -485,10 +485,10 @@ void FileBrowserPrivateSearchDriveMetadataFunction::OnSearchMetadata(
fileapi::FileSystemInfo info =
fileapi::GetFileSystemInfoForChromeOS(source_url_.GetOrigin());
for (size_t i = 0; i < results->size(); ++i) {
- DictionaryValue* result_dict = new DictionaryValue();
+ base::DictionaryValue* result_dict = new base::DictionaryValue();
// FileEntry fields.
- DictionaryValue* entry = new DictionaryValue();
+ base::DictionaryValue* entry = new base::DictionaryValue();
entry->SetString("fileSystemName", info.name);
entry->SetString("fileSystemRoot", info.root_url.spec());
entry->SetString("fileFullPath", "/" + results->at(i).path.value());

Powered by Google App Engine
This is Rietveld 408576698