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

Side by Side Diff: chrome/browser/extensions/api/push_messaging/sync_setup_helper.h

Issue 220253002: Add net/base/filename_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 #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/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "net/dns/mock_host_resolver.h" 13 #include "net/dns/mock_host_resolver.h"
14 14
15 class Profile; 15 class Profile;
16 class ProfileSyncServiceHarness; 16 class ProfileSyncServiceHarness;
17 17
18 namespace base {
19 class FilePath;
20 }
21
18 namespace extensions { 22 namespace extensions {
19 23
20 class SyncSetupHelper { 24 class SyncSetupHelper {
21 public: 25 public:
22 SyncSetupHelper(); 26 SyncSetupHelper();
23 27
24 ~SyncSetupHelper(); 28 ~SyncSetupHelper();
25 29
26 // Performs one-time initialization to enable sync for a profile. Does nothing 30 // Performs one-time initialization to enable sync for a profile. Does nothing
27 // if sync is already enabled for the profile. 31 // if sync is already enabled for the profile.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // GAIA and sync server URLs under google.com. We use a scoped version 73 // GAIA and sync server URLs under google.com. We use a scoped version
70 // to override the default resolver while the test is active. 74 // to override the default resolver while the test is active.
71 scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_; 75 scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_;
72 76
73 DISALLOW_COPY_AND_ASSIGN(SyncSetupHelper); 77 DISALLOW_COPY_AND_ASSIGN(SyncSetupHelper);
74 }; 78 };
75 79
76 } // namespace extensions 80 } // namespace extensions
77 81
78 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_ 82 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_SYNC_SETUP_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698