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

Unified Diff: content/shell/shell_access_token_store.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_access_token_store.cc
diff --git a/content/shell/shell_access_token_store.cc b/content/shell/shell_access_token_store.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c77afc574024ce2671a0a946f419eba0eea5e3e6
--- /dev/null
+++ b/content/shell/shell_access_token_store.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/shell/shell_access_token_store.h"
+#include "chrome/browser/browser_process.h"
jochen (gone - plz use gerrit) 2012/06/25 15:36:44 not needed?
John Knottenbelt 2012/06/26 07:46:15 Done.
+
+ShellAccessTokenStore::ShellAccessTokenStore(
+ net::URLRequestContextGetter* system_request_context)
+ : system_request_context_(system_request_context) {
+}
+
+void ShellAccessTokenStore::LoadAccessTokens(
+ const LoadAccessTokensCallbackType& callback) {
+ callback.Run(AccessTokenSet(), system_request_context_);
bulach 2012/06/25 15:28:39 hmm... does the caller expect the callback to be e
John Knottenbelt 2012/06/26 07:46:15 Good point, chrome access token store will yield t
+}
+
+void ShellAccessTokenStore::SaveAccessToken(
+ const GURL& server_url, const string16& access_token) {
+}

Powered by Google App Engine
This is Rietveld 408576698