Make default apps cache multiprofile friendly
[chromium-blink-merge.git] / chrome / browser / extensions / scoped_gaia_auth_extension.h
blob2d5e06b38947b92818afe0ac5b12ae26d554457b
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_SCOPED_GAIA_AUTH_EXTENSION_H_
6 #define CHROME_BROWSER_EXTENSIONS_SCOPED_GAIA_AUTH_EXTENSION_H_
8 #include "base/basictypes.h"
10 class Profile;
12 // ScopedGaiaAuthExtension loads gaia auth extension on construction and
13 // unloads it on destruction.
14 class ScopedGaiaAuthExtension {
15 public:
16 explicit ScopedGaiaAuthExtension(Profile* profile);
17 ~ScopedGaiaAuthExtension();
19 private:
20 Profile* profile_;
22 DISALLOW_COPY_AND_ASSIGN(ScopedGaiaAuthExtension);
25 #endif // CHROME_BROWSER_EXTENSIONS_SCOPED_GAIA_AUTH_EXTENSION_H_