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

Side by Side Diff: content/shell/shell_content_browser_client.cc

Issue 10669009: Add ShellAccessTokenStore to content_shell (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove OVERRIDE from destructor. Created 8 years, 5 months 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
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "content/public/browser/resource_dispatcher_host.h" 9 #include "content/public/browser/resource_dispatcher_host.h"
10 #include "content/shell/geolocation/shell_access_token_store.h"
10 #include "content/shell/layout_test_controller_host.h" 11 #include "content/shell/layout_test_controller_host.h"
11 #include "content/shell/shell.h" 12 #include "content/shell/shell.h"
13 #include "content/shell/shell_browser_context.h"
12 #include "content/shell/shell_browser_main_parts.h" 14 #include "content/shell/shell_browser_main_parts.h"
13 #include "content/shell/shell_devtools_delegate.h" 15 #include "content/shell/shell_devtools_delegate.h"
14 #include "content/shell/shell_resource_dispatcher_host_delegate.h" 16 #include "content/shell/shell_resource_dispatcher_host_delegate.h"
15 #include "content/shell/shell_switches.h" 17 #include "content/shell/shell_switches.h"
16 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
17 19
18 namespace content { 20 namespace content {
19 21
20 ShellContentBrowserClient::ShellContentBrowserClient() 22 ShellContentBrowserClient::ShellContentBrowserClient()
21 : shell_browser_main_parts_(NULL) { 23 : shell_browser_main_parts_(NULL) {
(...skipping 29 matching lines...) Expand all
51 } 53 }
52 54
53 std::string ShellContentBrowserClient::GetDefaultDownloadName() { 55 std::string ShellContentBrowserClient::GetDefaultDownloadName() {
54 return "download"; 56 return "download";
55 } 57 }
56 58
57 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 59 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
58 return shell_browser_main_parts_->browser_context(); 60 return shell_browser_main_parts_->browser_context();
59 } 61 }
60 62
63 AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() {
64 return new ShellAccessTokenStore(browser_context()->GetRequestContext());
65 }
66
61 } // namespace content 67 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698