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

Side by Side Diff: chrome/browser/chromeos/policy/power_policy_browsertest.cc

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 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) 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/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 // During teardown, an empty power management policy should be sent to the 199 // During teardown, an empty power management policy should be sent to the
200 // backend. 200 // backend.
201 power_management_policy.Clear(); 201 power_management_policy.Clear();
202 EXPECT_CALL(*power_manager_client_, SetPolicy( 202 EXPECT_CALL(*power_manager_client_, SetPolicy(
203 PowerManagementPolicyMatches(power_management_policy))); 203 PowerManagementPolicyMatches(power_management_policy)));
204 EXPECT_CALL(*power_manager_client_, RemoveObserver(_)).Times(AnyNumber()); 204 EXPECT_CALL(*power_manager_client_, RemoveObserver(_)).Times(AnyNumber());
205 } 205 }
206 206
207 } // namespace policy 207 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698