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

Unified Diff: components/policy/core/common/policy_load_status.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/policy_load_status.h
diff --git a/chrome/browser/policy/policy_load_status.h b/components/policy/core/common/policy_load_status.h
similarity index 87%
rename from chrome/browser/policy/policy_load_status.h
rename to components/policy/core/common/policy_load_status.h
index 4f29de5ad67b1376c22834484a756a168fd12a7b..5f4d017536acc08e65e60c85e6d181748729d706 100644
--- a/chrome/browser/policy/policy_load_status.h
+++ b/components/policy/core/common/policy_load_status.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_POLICY_POLICY_LOAD_STATUS_H_
-#define CHROME_BROWSER_POLICY_POLICY_LOAD_STATUS_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_
#include <bitset>
#include "base/basictypes.h"
+#include "components/policy/policy_export.h"
namespace base {
class HistogramBase;
@@ -46,7 +47,7 @@ enum PolicyLoadStatus {
// A helper for generating policy load status UMA statistics that'll collect
// histogram samples for a policy load operation and records histogram samples
// for the status codes that were seen on destruction.
-class PolicyLoadStatusSample {
+class POLICY_EXPORT PolicyLoadStatusSample {
public:
PolicyLoadStatusSample();
~PolicyLoadStatusSample();
@@ -63,4 +64,4 @@ class PolicyLoadStatusSample {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_POLICY_LOAD_STATUS_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_
« no previous file with comments | « components/policy/core/common/mock_policy_service.cc ('k') | components/policy/core/common/policy_load_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698