| OLD | NEW |
| 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/browser/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" |
| 11 #include "content/shell/browser/shell_browser_context.h" | 11 #include "content/shell/browser/shell_browser_context.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 ShellAccessTokenStore::ShellAccessTokenStore( | 15 ShellAccessTokenStore::ShellAccessTokenStore( |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 access_token_set[GURL()] = base::ASCIIToUTF16("chromium_content_shell"); | 47 access_token_set[GURL()] = base::ASCIIToUTF16("chromium_content_shell"); |
| 48 callback.Run(access_token_set, system_request_context_.get()); | 48 callback.Run(access_token_set, system_request_context_.get()); |
| 49 system_request_context_ = NULL; | 49 system_request_context_ = NULL; |
| 50 } | 50 } |
| 51 | 51 |
| 52 void ShellAccessTokenStore::SaveAccessToken( | 52 void ShellAccessTokenStore::SaveAccessToken( |
| 53 const GURL& server_url, const base::string16& access_token) { | 53 const GURL& server_url, const base::string16& access_token) { |
| 54 } | 54 } |
| 55 | 55 |
| 56 } // namespace content | 56 } // namespace content |
| OLD | NEW |