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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_strings.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 6 years, 12 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" 9 #include "chrome/browser/chromeos/file_manager/open_with_browser.h"
10 #include "chrome/common/extensions/extension_l10n_util.h" 10 #include "chrome/common/extensions/extension_l10n_util.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 namespace extensions { 59 namespace extensions {
60 60
61 FileBrowserPrivateGetStringsFunction::FileBrowserPrivateGetStringsFunction() { 61 FileBrowserPrivateGetStringsFunction::FileBrowserPrivateGetStringsFunction() {
62 } 62 }
63 63
64 FileBrowserPrivateGetStringsFunction::~FileBrowserPrivateGetStringsFunction() { 64 FileBrowserPrivateGetStringsFunction::~FileBrowserPrivateGetStringsFunction() {
65 } 65 }
66 66
67 bool FileBrowserPrivateGetStringsFunction::RunImpl() { 67 bool FileBrowserPrivateGetStringsFunction::RunImpl() {
68 DictionaryValue* dict = new DictionaryValue(); 68 base::DictionaryValue* dict = new base::DictionaryValue();
69 SetResult(dict); 69 SetResult(dict);
70 70
71 #define SET_STRING(id, idr) \ 71 #define SET_STRING(id, idr) \
72 dict->SetString(id, l10n_util::GetStringUTF16(idr)) 72 dict->SetString(id, l10n_util::GetStringUTF16(idr))
73 73
74 SET_STRING("WEB_FONT_FAMILY", IDS_WEB_FONT_FAMILY); 74 SET_STRING("WEB_FONT_FAMILY", IDS_WEB_FONT_FAMILY);
75 SET_STRING("WEB_FONT_SIZE", IDS_WEB_FONT_SIZE); 75 SET_STRING("WEB_FONT_SIZE", IDS_WEB_FONT_SIZE);
76 76
77 SET_STRING("ARCHIVE_DIRECTORY_LABEL", 77 SET_STRING("ARCHIVE_DIRECTORY_LABEL",
78 IDS_FILE_BROWSER_ARCHIVE_DIRECTORY_LABEL); 78 IDS_FILE_BROWSER_ARCHIVE_DIRECTORY_LABEL);
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 dict->SetString( 462 dict->SetString(
463 "FILES_APP_HELP_URL", 463 "FILES_APP_HELP_URL",
464 base::StringPrintf(kHelpURLFormat, kFilesAppHelpNumber)); 464 base::StringPrintf(kHelpURLFormat, kFilesAppHelpNumber));
465 dict->SetString( 465 dict->SetString(
466 "GOOGLE_DRIVE_ERROR_HELP_URL", 466 "GOOGLE_DRIVE_ERROR_HELP_URL",
467 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber)); 467 base::StringPrintf(kHelpURLFormat, kGoogleDriveErrorHelpNumber));
468 return true; 468 return true;
469 } 469 }
470 470
471 } // namespace extensions 471 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698