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

Side by Side Diff: chrome/browser/background/background_mode_manager_gtk.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <unistd.h> 5 #include <unistd.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 base::Bind(DisableLaunchOnStartupCallback)); 70 base::Bind(DisableLaunchOnStartupCallback));
71 } 71 }
72 } 72 }
73 73
74 void BackgroundModeManager::DisplayAppInstalledNotification( 74 void BackgroundModeManager::DisplayAppInstalledNotification(
75 const Extension* extension) { 75 const Extension* extension) {
76 // TODO(atwilson): Display a platform-appropriate notification here. 76 // TODO(atwilson): Display a platform-appropriate notification here.
77 // http://crbug.com/74970 77 // http://crbug.com/74970
78 } 78 }
79 79
80 string16 BackgroundModeManager::GetPreferencesMenuLabel() { 80 base::string16 BackgroundModeManager::GetPreferencesMenuLabel() {
81 string16 result = gtk_util::GetStockPreferencesMenuLabel(); 81 base::string16 result = gtk_util::GetStockPreferencesMenuLabel();
82 if (!result.empty()) 82 if (!result.empty())
83 return result; 83 return result;
84 return l10n_util::GetStringUTF16(IDS_PREFERENCES); 84 return l10n_util::GetStringUTF16(IDS_PREFERENCES);
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698