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

Side by Side Diff: chrome/browser/extensions/settings/settings_apitest.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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/json/json_writer.h" 6 #include "base/json/json_writer.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_test_message_listener.h" 9 #include "chrome/browser/extensions/extension_test_message_listener.h"
10 #include "chrome/browser/extensions/settings/settings_frontend.h" 10 #include "chrome/browser/extensions/settings/settings_frontend.h"
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 SettingsFrontend* frontend = 509 SettingsFrontend* frontend =
510 browser()->profile()->GetExtensionService()->settings_frontend(); 510 browser()->profile()->GetExtensionService()->settings_frontend();
511 frontend->DisableStorageForTesting(MANAGED); 511 frontend->DisableStorageForTesting(MANAGED);
512 EXPECT_FALSE(frontend->IsStorageEnabled(MANAGED)); 512 EXPECT_FALSE(frontend->IsStorageEnabled(MANAGED));
513 // Now run the extension. 513 // Now run the extension.
514 ASSERT_TRUE(RunExtensionTest("settings/managed_storage_disabled")) 514 ASSERT_TRUE(RunExtensionTest("settings/managed_storage_disabled"))
515 << message_; 515 << message_;
516 } 516 }
517 517
518 } // namespace extensions 518 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/settings_api.cc ('k') | chrome/browser/extensions/settings/settings_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698