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

Unified Diff: chrome/browser/background/background_contents_service_unittest.cc

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/background/background_contents_service_unittest.cc
diff --git a/chrome/browser/background/background_contents_service_unittest.cc b/chrome/browser/background/background_contents_service_unittest.cc
index 41228c4c7163b483d63dc97eefbf8c5aa1f23b87..30e0f0ad38f748da64cefc47bd6e3e30b19eac3a 100644
--- a/chrome/browser/background/background_contents_service_unittest.cc
+++ b/chrome/browser/background/background_contents_service_unittest.cc
@@ -37,7 +37,7 @@ class BackgroundContentsServiceTest : public testing::Test {
}
// Returns the stored pref URL for the passed app id.
- std::string GetPrefURLForApp(Profile* profile, const string16& appid) {
+ std::string GetPrefURLForApp(Profile* profile, const base::string16& appid) {
const DictionaryValue* pref = GetPrefs(profile);
EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid)));
const DictionaryValue* value;
@@ -62,7 +62,7 @@ class MockBackgroundContents : public BackgroundContents {
}
void SendOpenedNotification(BackgroundContentsService* service) {
- string16 frame_name = ASCIIToUTF16("background");
+ base::string16 frame_name = ASCIIToUTF16("background");
BackgroundContentsOpenedDetails details = {
this, frame_name, appid_ };
service->BackgroundContentsOpened(&details);
@@ -92,13 +92,13 @@ class MockBackgroundContents : public BackgroundContents {
content::Details<BackgroundContents>(this));
}
- const string16& appid() { return appid_; }
+ const base::string16& appid() { return appid_; }
private:
GURL url_;
// The ID of our parent application
- string16 appid_;
+ base::string16 appid_;
// Parent profile
Profile* profile_;
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/background/background_mode_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698