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

Unified Diff: chrome/browser/chromeos/arc/auth/arc_auth_code_fetcher.h

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Fix Luis's comments Created 3 years, 10 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: chrome/browser/chromeos/arc/auth/arc_auth_code_fetcher.h
diff --git a/chrome/browser/chromeos/arc/auth/arc_auth_code_fetcher.h b/chrome/browser/chromeos/arc/auth/arc_auth_code_fetcher.h
deleted file mode 100644
index 7f9770e7e1cc2e884c3040d82a3ff1773d8b60a5..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/arc/auth/arc_auth_code_fetcher.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_AUTH_CODE_FETCHER_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_AUTH_CODE_FETCHER_H_
-
-#include <string>
-
-#include "base/callback.h"
-
-namespace arc {
-
-// Interface to implement auth_code fetching.
-class ArcAuthCodeFetcher {
- public:
- virtual ~ArcAuthCodeFetcher() = default;
-
- // Fetches the |auth_code|. On success, |callback| is called with the
- // fetched |auth_code|. Otherwise, |callback| is called with empty string.
- // Fetch() should be called once par instance, and it is expected that
- // the inflight operation is cancelled without calling the |callback|
- // when the instance is deleted.
- using FetchCallback = base::Callback<void(const std::string& auth_code)>;
- virtual void Fetch(const FetchCallback& callback) = 0;
-};
-
-} // namespace arc
-
-#endif // CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_AUTH_CODE_FETCHER_H_

Powered by Google App Engine
This is Rietveld 408576698