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_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "net/base/mock_host_resolver.h" | 14 #include "net/dns/mock_host_resolver.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 class ProfileSyncServiceHarness; | 17 class ProfileSyncServiceHarness; |
18 | 18 |
19 namespace extensions { | 19 namespace extensions { |
20 | 20 |
21 class SyncSetupHelper { | 21 class SyncSetupHelper { |
22 public: | 22 public: |
23 SyncSetupHelper(); | 23 SyncSetupHelper(); |
24 | 24 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // GAIA and sync server URLs under google.com. We use a scoped version | 70 // GAIA and sync server URLs under google.com. We use a scoped version |
71 // to override the default resolver while the test is active. | 71 // to override the default resolver while the test is active. |
72 scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; | 72 scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(SyncSetupHelper); | 74 DISALLOW_COPY_AND_ASSIGN(SyncSetupHelper); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace extensions | 77 } // namespace extensions |
78 | 78 |
79 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ | 79 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ |
OLD | NEW |