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

Side by Side Diff: chrome/browser/policy/browser_policy_connector.h

Issue 7054022: Use int64 instead of int for cloud policy infrastructure-delay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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) 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 CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Exposes the StopAutoRetry() method of the CloudPolicySubsystem managed 64 // Exposes the StopAutoRetry() method of the CloudPolicySubsystem managed
65 // by this connector, which can be used to disable automatic 65 // by this connector, which can be used to disable automatic
66 // retrying behavior. 66 // retrying behavior.
67 void StopAutoRetry(); 67 void StopAutoRetry();
68 68
69 // Initiates a policy fetch after a successful device registration. 69 // Initiates a policy fetch after a successful device registration.
70 void FetchPolicy(); 70 void FetchPolicy();
71 71
72 // Schedules initialization of the policy backend service, if the service is 72 // Schedules initialization of the policy backend service, if the service is
73 // already constructed. 73 // already constructed.
74 void ScheduleServiceInitialization(int delay_milliseconds); 74 void ScheduleServiceInitialization(int64 delay_milliseconds);
75 75
76 private: 76 private:
77 friend class ::TestingBrowserProcess; 77 friend class ::TestingBrowserProcess;
78 78
79 BrowserPolicyConnector(); 79 BrowserPolicyConnector();
80 80
81 static ConfigurationPolicyProvider* CreateManagedPlatformProvider(); 81 static ConfigurationPolicyProvider* CreateManagedPlatformProvider();
82 static ConfigurationPolicyProvider* CreateRecommendedPlatformProvider(); 82 static ConfigurationPolicyProvider* CreateRecommendedPlatformProvider();
83 83
84 // Constructor for tests that allows tests to use fake platform policy 84 // Constructor for tests that allows tests to use fake platform policy
(...skipping 15 matching lines...) Expand all
100 scoped_ptr<CloudPolicySubsystem> cloud_policy_subsystem_; 100 scoped_ptr<CloudPolicySubsystem> cloud_policy_subsystem_;
101 101
102 ScopedRunnableMethodFactory<BrowserPolicyConnector> method_factory_; 102 ScopedRunnableMethodFactory<BrowserPolicyConnector> method_factory_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); 104 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
105 }; 105 };
106 106
107 } // namespace policy 107 } // namespace policy
108 108
109 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ 109 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_image_view.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698