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

Side by Side Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 bool DoesInstallSuccessReferToId(const std::string& id, 239 bool DoesInstallSuccessReferToId(const std::string& id,
240 const content::NotificationSource& source, 240 const content::NotificationSource& source,
241 const content::NotificationDetails& details) { 241 const content::NotificationDetails& details) {
242 return content::Details<const extensions::InstalledExtensionInfo>(details)-> 242 return content::Details<const extensions::InstalledExtensionInfo>(details)->
243 extension->id() == id; 243 extension->id() == id;
244 } 244 }
245 245
246 bool DoesInstallFailureReferToId(const std::string& id, 246 bool DoesInstallFailureReferToId(const std::string& id,
247 const content::NotificationSource& source, 247 const content::NotificationSource& source,
248 const content::NotificationDetails& details) { 248 const content::NotificationDetails& details) {
249 return content::Details<const string16>(details)->find(UTF8ToUTF16(id)) != 249 return content::Details<const base::string16>(details)->find(UTF8ToUTF16(id)) !=
250 string16::npos; 250 base::string16::npos;
251 } 251 }
252 252
253 scoped_ptr<net::FakeURLFetcher> RunCallbackAndReturnFakeURLFetcher( 253 scoped_ptr<net::FakeURLFetcher> RunCallbackAndReturnFakeURLFetcher(
254 scoped_refptr<base::SequencedTaskRunner> task_runner, 254 scoped_refptr<base::SequencedTaskRunner> task_runner,
255 const base::Closure& callback, 255 const base::Closure& callback,
256 const GURL& url, 256 const GURL& url,
257 net::URLFetcherDelegate* delegate, 257 net::URLFetcherDelegate* delegate,
258 const std::string& response_data, 258 const std::string& response_data,
259 net::HttpStatusCode response_code, 259 net::HttpStatusCode response_code,
260 net::URLRequestStatus::Status status) { 260 net::URLRequestStatus::Status status) {
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 if (!IsSessionStarted()) { 1078 if (!IsSessionStarted()) {
1079 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED, 1079 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED,
1080 base::Bind(IsSessionStarted)).Wait(); 1080 base::Bind(IsSessionStarted)).Wait();
1081 } 1081 }
1082 } 1082 }
1083 1083
1084 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance, 1084 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance,
1085 TermsOfServiceTest, testing::Bool()); 1085 TermsOfServiceTest, testing::Bool());
1086 1086
1087 } // namespace policy 1087 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.cc ('k') | chrome/browser/chromeos/power/idle_action_warning_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698