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

Side by Side Diff: components/policy/core/common/generate_policy_source_unittest.cc

Issue 113813003: Cleanup the policy code after the recent moves into the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/policy_pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <string> 5 #include <string>
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "components/policy/core/common/policy_details.h" 10 #include "components/policy/core/common/policy_details.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 EXPECT_TRUE(details->is_device_policy); 114 EXPECT_TRUE(details->is_device_policy);
115 EXPECT_EQ(90, details->id); 115 EXPECT_EQ(90, details->id);
116 EXPECT_EQ(0u, details->max_external_data_size); 116 EXPECT_EQ(0u, details->max_external_data_size);
117 #endif 117 #endif
118 118
119 // TODO(bartfab): add a test that verifies a max_external_data_size larger 119 // TODO(bartfab): add a test that verifies a max_external_data_size larger
120 // than 0, once a type 'external' policy is added. 120 // than 0, once a type 'external' policy is added.
121 } 121 }
122 122
123 } // namespace policy 123 } // namespace policy
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/policy_pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698