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

Unified 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: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index d00b0330a8bf3e70d8ad8c0e184b791fd6f445f8..9170127514c4bf889bae0c9f5c4df3f728283d61 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -9,6 +9,8 @@
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/shell/layout_test_controller_host.h"
#include "content/shell/shell.h"
+#include "content/shell/shell_access_token_store.h"
+#include "content/shell/shell_browser_context.h"
#include "content/shell/shell_browser_main_parts.h"
#include "content/shell/shell_devtools_delegate.h"
#include "content/shell/shell_resource_dispatcher_host_delegate.h"
@@ -58,4 +60,8 @@ ShellBrowserContext* ShellContentBrowserClient::browser_context() {
return shell_browser_main_parts_->browser_context();
}
+AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() {
+ return new ShellAccessTokenStore(browser_context()->GetRequestContext());
+}
+
} // namespace content
« content/shell/shell_access_token_store.cc ('K') | « 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