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

Side by Side Diff: chrome/browser/extensions/api/cookies/cookies_helpers.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 common functionality used by the implementation of the Chrome 5 // Defines common functionality used by the implementation of the Chrome
6 // Extensions Cookies API implemented in 6 // Extensions Cookies API implemented in
7 // chrome/browser/extensions/api/cookies/cookies_api.cc. This separate interface 7 // chrome/browser/extensions/api/cookies/cookies_api.cc. This separate interface
8 // exposes pieces of the API implementation mainly for unit testing purposes. 8 // exposes pieces of the API implementation mainly for unit testing purposes.
9 9
10 #ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ 10 #ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_
11 #define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ 11 #define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_
12 #pragma once
13 12
14 #include <string> 13 #include <string>
15 14
16 #include "net/cookies/cookie_monster.h" 15 #include "net/cookies/cookie_monster.h"
17 16
18 class Browser; 17 class Browser;
19 class Profile; 18 class Profile;
20 19
21 namespace base { 20 namespace base {
22 class DictionaryValue; 21 class DictionaryValue;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // 'foo.bar.com', '.foo.bar.com', and 'baz.foo.bar.com'. 116 // 'foo.bar.com', '.foo.bar.com', and 'baz.foo.bar.com'.
118 bool MatchesDomain(const std::string& domain); 117 bool MatchesDomain(const std::string& domain);
119 118
120 const base::DictionaryValue* details_; 119 const base::DictionaryValue* details_;
121 }; 120 };
122 121
123 } // namespace cookies_helpers 122 } // namespace cookies_helpers
124 } // namespace extensions 123 } // namespace extensions
125 124
126 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ 125 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698