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

Side by Side Diff: content/shell/geolocation/shell_access_token_store.cc

Issue 102593002: Convert string16 to base::string16 in content. (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 "content/shell/geolocation/shell_access_token_store.h" 5 #include "content/shell/geolocation/shell_access_token_store.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void ShellAccessTokenStore::RespondOnOriginatingThread( 42 void ShellAccessTokenStore::RespondOnOriginatingThread(
43 const LoadAccessTokensCallbackType& callback) { 43 const LoadAccessTokensCallbackType& callback) {
44 // Since content_shell is a test executable, rather than an end user program, 44 // Since content_shell is a test executable, rather than an end user program,
45 // we provide a dummy access_token set to avoid hitting the server. 45 // we provide a dummy access_token set to avoid hitting the server.
46 AccessTokenSet access_token_set; 46 AccessTokenSet access_token_set;
47 access_token_set[GURL()] = ASCIIToUTF16("chromium_content_shell"); 47 access_token_set[GURL()] = ASCIIToUTF16("chromium_content_shell");
48 callback.Run(access_token_set, system_request_context_); 48 callback.Run(access_token_set, system_request_context_);
49 } 49 }
50 50
51 void ShellAccessTokenStore::SaveAccessToken( 51 void ShellAccessTokenStore::SaveAccessToken(
52 const GURL& server_url, const string16& access_token) { 52 const GURL& server_url, const base::string16& access_token) {
53 } 53 }
54 54
55 } // namespace content 55 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/geolocation/shell_access_token_store.h ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698