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

Side by Side Diff: chrome/browser/chromeos/policy/stub_enterprise_install_attributes.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" 11 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
12 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 12 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
13 13
14 namespace policy { 14 namespace policy {
15 15
16 // This class allows tests to override specific values for easier testing. 16 // This class allows tests to override specific values for easier testing.
17 // To make IsEnterpriseDevice() return true, set a non-empty registration 17 // To make IsEnterpriseDevice() return true, set a non-empty registration
18 // user. 18 // user.
19 class StubEnterpriseInstallAttributes : public EnterpriseInstallAttributes { 19 class StubEnterpriseInstallAttributes : public EnterpriseInstallAttributes {
20 public: 20 public:
(...skipping 14 matching lines...) Expand all
35 ScopedStubEnterpriseInstallAttributes(const std::string& domain, 35 ScopedStubEnterpriseInstallAttributes(const std::string& domain,
36 const std::string& registration_user, 36 const std::string& registration_user,
37 const std::string& device_id, 37 const std::string& device_id,
38 DeviceMode mode); 38 DeviceMode mode);
39 ~ScopedStubEnterpriseInstallAttributes(); 39 ~ScopedStubEnterpriseInstallAttributes();
40 }; 40 };
41 41
42 } // namespace policy 42 } // namespace policy
43 43
44 #endif // CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_ 44 #endif // CHROME_BROWSER_CHROMEOS_POLICY_STUB_ENTERPRISE_INSTALL_ATTRIBUTES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/status_uploader.cc ('k') | chrome/browser/chromeos/policy/system_log_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698