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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2607593002: Add fake implementation for AuthPolicyClient::RefreshUserPolicy() (Closed)
Patch Set: CHECK on serialization errors Created 4 years 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 | « chromeos/dbus/auth_policy_client.cc ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_auth_policy_client.h
diff --git a/chromeos/dbus/fake_auth_policy_client.h b/chromeos/dbus/fake_auth_policy_client.h
index dddf5bba9c5f593ea7d9ef7b40627ecb0576292c..3b1b7c1f9b18b6f023955055d0f7e89195abdc53 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Copyright 2016 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.
@@ -11,6 +11,8 @@
#include "chromeos/dbus/auth_policy_client.h"
+class AccountId;
+
namespace chromeos {
class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
@@ -29,7 +31,7 @@ class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
int password_fd,
const AuthCallback& callback) override;
void RefreshDevicePolicy(const RefreshPolicyCallback& calllback) override;
- void RefreshUserPolicy(const std::string& account_id,
+ void RefreshUserPolicy(const AccountId& account_id,
const RefreshPolicyCallback& callback) override;
private:
« no previous file with comments | « chromeos/dbus/auth_policy_client.cc ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698