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

Side by Side Diff: chrome/browser/extensions/extension_special_storage_policy_unittest.cc

Issue 410993002: Componentize content_settings_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed empty DEPS Created 6 years, 4 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/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/values.h" 6 #include "base/values.h"
7 #include "chrome/browser/content_settings/cookie_settings.h" 7 #include "chrome/browser/content_settings/cookie_settings.h"
8 #include "chrome/browser/extensions/extension_special_storage_policy.h" 8 #include "chrome/browser/extensions/extension_special_storage_policy.h"
9 #include "chrome/common/content_settings.h" 9 #include "chrome/common/content_settings.h"
10 #include "chrome/common/content_settings_types.h"
11 #include "chrome/test/base/testing_profile.h" 10 #include "chrome/test/base/testing_profile.h"
11 #include "components/content_settings/core/common/content_settings_types.h"
12 #include "content/public/test/test_browser_thread.h" 12 #include "content/public/test/test_browser_thread.h"
13 #include "extensions/common/extension.h" 13 #include "extensions/common/extension.h"
14 #include "extensions/common/extension_set.h" 14 #include "extensions/common/extension_set.h"
15 #include "extensions/common/manifest.h" 15 #include "extensions/common/manifest.h"
16 #include "extensions/common/manifest_constants.h" 16 #include "extensions/common/manifest_constants.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 using extensions::Extension; 20 using extensions::Extension;
21 using extensions::ExtensionSet; 21 using extensions::ExtensionSet;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 EXPECT_TRUE(observer.IsCompleted()); 398 EXPECT_TRUE(observer.IsCompleted());
399 } 399 }
400 400
401 observer.ExpectClear(); 401 observer.ExpectClear();
402 policy_->RevokeRightsForAllExtensions(); 402 policy_->RevokeRightsForAllExtensions();
403 message_loop.RunUntilIdle(); 403 message_loop.RunUntilIdle();
404 EXPECT_TRUE(observer.IsCompleted()); 404 EXPECT_TRUE(observer.IsCompleted());
405 405
406 policy_->RemoveObserver(&observer); 406 policy_->RemoveObserver(&observer);
407 } 407 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698