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

Side by Side Diff: chrome/browser/extensions/settings/policy_value_store_unittest.cc

Issue 11778097: Revert revision 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/settings/policy_value_store.h" 5 #include "chrome/browser/extensions/settings/policy_value_store.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 Mock::VerifyAndClearExpectations(&observer_); 208 Mock::VerifyAndClearExpectations(&observer_);
209 209
210 // Don't notify when there aren't changes. 210 // Don't notify when there aren't changes.
211 EXPECT_CALL(observer_, OnSettingsChanged(_, _, _)).Times(0); 211 EXPECT_CALL(observer_, OnSettingsChanged(_, _, _)).Times(0);
212 store_->SetCurrentPolicy(policies, true); 212 store_->SetCurrentPolicy(policies, true);
213 loop_.RunUntilIdle(); 213 loop_.RunUntilIdle();
214 Mock::VerifyAndClearExpectations(&observer_); 214 Mock::VerifyAndClearExpectations(&observer_);
215 } 215 }
216 216
217 } // namespace extensions 217 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/policy_value_store.cc ('k') | chrome/browser/extensions/settings/setting_sync_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698