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

Side by Side Diff: content/public/browser/access_token_store.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/app/startup_helper_win.h ('k') | content/public/browser/android/content_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines the Geolocation access token store, and associated factory function. 5 // Defines the Geolocation access token store, and associated factory function.
6 // An access token store is responsible for providing the API to persist 6 // An access token store is responsible for providing the API to persist
7 // access tokens, one at a time, and to load them back on mass. 7 // access tokens, one at a time, and to load them back on mass.
8 // The API is a little more complex than one might wish, due to the need for 8 // The API is a little more complex than one might wish, due to the need for
9 // prefs access to happen asynchronously on the UI thread. 9 // prefs access to happen asynchronously on the UI thread.
10 // This API is provided as abstract base classes to allow mocking and testing 10 // This API is provided as abstract base classes to allow mocking and testing
11 // of clients, without dependency on browser process singleton objects etc. 11 // of clients, without dependency on browser process singleton objects etc.
12 12
13 #ifndef CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_ 13 #ifndef CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
14 #define CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_ 14 #define CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
15 #pragma once
16 15
17 #include <map> 16 #include <map>
18 17
19 #include "base/callback.h" 18 #include "base/callback.h"
20 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
21 #include "base/string16.h" 20 #include "base/string16.h"
22 #include "content/common/content_export.h" 21 #include "content/common/content_export.h"
23 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
24 23
25 class GURL; 24 class GURL;
(...skipping 26 matching lines...) Expand all
52 51
53 protected: 52 protected:
54 friend class base::RefCountedThreadSafe<AccessTokenStore>; 53 friend class base::RefCountedThreadSafe<AccessTokenStore>;
55 CONTENT_EXPORT AccessTokenStore() {} 54 CONTENT_EXPORT AccessTokenStore() {}
56 CONTENT_EXPORT virtual ~AccessTokenStore() {} 55 CONTENT_EXPORT virtual ~AccessTokenStore() {}
57 }; 56 };
58 57
59 } // namespace content 58 } // namespace content
60 59
61 #endif // CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_ 60 #endif // CONTENT_PUBLIC_BROWSER_ACCESS_TOKEN_STORE_H_
OLDNEW
« no previous file with comments | « content/public/app/startup_helper_win.h ('k') | content/public/browser/android/content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698