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 #ifndef CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ |
6 #define CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ | 6 #define CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "net/url_request/test_url_fetcher_factory.h" | 12 #include "net/url_request/test_url_fetcher_factory.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 13 #include "net/url_request/url_fetcher_delegate.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
16 | 15 |
17 class GURL; | 16 class GURL; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 scoped_ptr<LoggingWorkScheduler> scheduler_; | 68 scoped_ptr<LoggingWorkScheduler> scheduler_; |
70 | 69 |
71 base::WeakPtrFactory<TestingPolicyURLFetcherFactory> weak_ptr_factory_; | 70 base::WeakPtrFactory<TestingPolicyURLFetcherFactory> weak_ptr_factory_; |
72 | 71 |
73 DISALLOW_COPY_AND_ASSIGN(TestingPolicyURLFetcherFactory); | 72 DISALLOW_COPY_AND_ASSIGN(TestingPolicyURLFetcherFactory); |
74 }; | 73 }; |
75 | 74 |
76 } // namespace policy | 75 } // namespace policy |
77 | 76 |
78 #endif // CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ | 77 #endif // CHROME_BROWSER_POLICY_TESTING_POLICY_URL_FETCHER_FACTORY_H_ |
OLD | NEW |