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

Unified Diff: components/autofill/content/browser/wallet/gaia_account.h

Issue 1288093004: rAc Wallet extirpation round 4: clean out RPC code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 5 years, 4 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: components/autofill/content/browser/wallet/gaia_account.h
diff --git a/components/autofill/content/browser/wallet/gaia_account.h b/components/autofill/content/browser/wallet/gaia_account.h
deleted file mode 100644
index 2eb6e2ebf3aed559cc38c64944f7f1088d79618a..0000000000000000000000000000000000000000
--- a/components/autofill/content/browser/wallet/gaia_account.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2013 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 COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_GAIA_ACCOUNTS_H_
-#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_GAIA_ACCOUNTS_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace autofill {
-namespace wallet {
-
-class GaiaAccount {
- public:
- ~GaiaAccount();
-
- // Returns an empty scoped_ptr if input is invalid, otherwise a valid GAIA
- // account.
- static scoped_ptr<GaiaAccount> Create(
- const base::DictionaryValue& dictionary);
-
- static scoped_ptr<GaiaAccount> CreateForTesting(
- const std::string& email_address,
- const std::string& obfuscated_id,
- size_t index,
- bool is_active);
-
- bool operator==(const GaiaAccount& other) const;
- bool operator!=(const GaiaAccount& other) const;
-
- const std::string& email_address() const { return email_address_; }
- const std::string& obfuscated_id() const { return obfuscated_id_; }
- size_t index() const { return index_; }
- bool is_active() const { return is_active_; }
-
- private:
- GaiaAccount(const std::string& email_address,
- const std::string& obfuscated_id,
- size_t index,
- bool is_active);
-
- std::string email_address_;
- std::string obfuscated_id_;
- size_t index_;
- bool is_active_;
-
- DISALLOW_COPY_AND_ASSIGN(GaiaAccount);
-};
-
-} // namespace wallet
-} // namespace autofill
-
-#endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_GAIA_ACCOUNTS_H_

Powered by Google App Engine
This is Rietveld 408576698