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

Side by Side Diff: net/base/cookie_store_test_helpers.h

Issue 8956019: base::Bind: Remove includes of base.bind in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac fix. Created 9 years 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 | « media/base/download_rate_monitor_unittest.cc ('k') | net/base/cookie_store_test_helpers.cc » ('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 #ifndef NET_BASE_COOKIE_STORE_TEST_HELPERS_H_ 5 #ifndef NET_BASE_COOKIE_STORE_TEST_HELPERS_H_
6 #define NET_BASE_COOKIE_STORE_TEST_HELPERS_H_ 6 #define NET_BASE_COOKIE_STORE_TEST_HELPERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/base/cookie_monster.h" 9 #include "net/base/cookie_monster.h"
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/bind.h" 14 #include "base/callback_forward.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 class DelayedCookieMonster : public CookieStore { 19 class DelayedCookieMonster : public CookieStore {
20 public: 20 public:
21 DelayedCookieMonster(); 21 DelayedCookieMonster();
22 22
23 // Call the asynchronous CookieMonster function, expect it to immediately 23 // Call the asynchronous CookieMonster function, expect it to immediately
24 // invoke the internal callback. 24 // invoke the internal callback.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 bool did_run_; 91 bool did_run_;
92 bool result_; 92 bool result_;
93 std::string cookie_; 93 std::string cookie_;
94 std::string cookie_line_; 94 std::string cookie_line_;
95 std::vector<CookieStore::CookieInfo> cookie_info_; 95 std::vector<CookieStore::CookieInfo> cookie_info_;
96 }; 96 };
97 97
98 } // namespace net 98 } // namespace net
99 99
100 #endif // NET_BASE_COOKIE_STORE_TEST_HELPERS_H_ 100 #endif // NET_BASE_COOKIE_STORE_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « media/base/download_rate_monitor_unittest.cc ('k') | net/base/cookie_store_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698