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

Unified Diff: chrome/browser/signin/test_signin_client_builder.cc

Issue 276463002: non-new-profile-management creates a "no-op" style account_reconcilor, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 7 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
« no previous file with comments | « chrome/browser/signin/test_signin_client_builder.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/test_signin_client_builder.cc
diff --git a/chrome/browser/signin/test_signin_client_builder.cc b/chrome/browser/signin/test_signin_client_builder.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d846fa01795ae9d8779f677d0a2b9655007eafe3
--- /dev/null
+++ b/chrome/browser/signin/test_signin_client_builder.cc
@@ -0,0 +1,25 @@
+// Copyright 2014 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 "chrome/browser/signin/test_signin_client_builder.h"
+
+#include "chrome/browser/profiles/profile.h"
+#include "components/signin/core/browser/test_signin_client.h"
+
+class KeyedService;
+
+namespace content {
+class BrowserContext;
+}
+
+namespace signin {
+
+KeyedService* BuildTestSigninClient(
+ content::BrowserContext* context) {
+ TestSigninClient* test_signin_client =
+ new TestSigninClient(static_cast<Profile*>(context)->GetPrefs());
+ return test_signin_client;
+}
+
+} // namespace signin
« no previous file with comments | « chrome/browser/signin/test_signin_client_builder.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698