| OLD | NEW |
| 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 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "chrome/common/extensions/api/cookies.h" | 16 #include "chrome/common/extensions/api/cookies.h" |
| 17 #include "net/cookies/cookie_monster.h" | 17 #include "net/cookies/cookie_monster.h" |
| 18 #include "net/cookies/canonical_cookie.h" | 18 #include "net/cookies/canonical_cookie.h" |
| 19 | 19 |
| 20 class Browser; | 20 class Browser; |
| 21 class Profile; | 21 class Profile; |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 class DictionaryValue; | |
| 25 class ListValue; | 24 class ListValue; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace net { | 27 namespace net { |
| 29 class CanonicalCookie; | 28 class CanonicalCookie; |
| 30 } | 29 } |
| 31 | 30 |
| 32 namespace extensions { | 31 namespace extensions { |
| 33 | 32 |
| 34 class Extension; | 33 class Extension; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // 'foo.bar.com', '.foo.bar.com', and 'baz.foo.bar.com'. | 109 // 'foo.bar.com', '.foo.bar.com', and 'baz.foo.bar.com'. |
| 111 bool MatchesDomain(const std::string& domain); | 110 bool MatchesDomain(const std::string& domain); |
| 112 | 111 |
| 113 const api::cookies::GetAll::Params::Details* details_; | 112 const api::cookies::GetAll::Params::Details* details_; |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace cookies_helpers | 115 } // namespace cookies_helpers |
| 117 } // namespace extensions | 116 } // namespace extensions |
| 118 | 117 |
| 119 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ | 118 #endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ |
| OLD | NEW |