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

Side by Side Diff: chrome/browser/cookies_tree_model_unittest.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 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
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cookies_tree_model.h" 5 #include "chrome/browser/cookies_tree_model.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/l10n_util.h"
10 #include "chrome/browser/host_content_settings_map.h" 9 #include "chrome/browser/host_content_settings_map.h"
11 #include "chrome/browser/mock_browsing_data_appcache_helper.h" 10 #include "chrome/browser/mock_browsing_data_appcache_helper.h"
12 #include "chrome/browser/mock_browsing_data_database_helper.h" 11 #include "chrome/browser/mock_browsing_data_database_helper.h"
13 #include "chrome/browser/mock_browsing_data_local_storage_helper.h" 12 #include "chrome/browser/mock_browsing_data_local_storage_helper.h"
14 #include "chrome/common/net/url_request_context_getter.h" 13 #include "chrome/common/net/url_request_context_getter.h"
15 #include "chrome/test/testing_profile.h" 14 #include "chrome/test/testing_profile.h"
16 #include "net/url_request/url_request_context.h" 15 #include "net/url_request/url_request_context.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
19 18
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 origin->CreateContentException( 535 origin->CreateContentException(
537 content_settings, CONTENT_SETTING_SESSION_ONLY); 536 content_settings, CONTENT_SETTING_SESSION_ONLY);
538 537
539 EXPECT_EQ(2, observer.counter); 538 EXPECT_EQ(2, observer.counter);
540 EXPECT_EQ(pattern, observer.last_pattern); 539 EXPECT_EQ(pattern, observer.last_pattern);
541 EXPECT_EQ(CONTENT_SETTING_SESSION_ONLY, 540 EXPECT_EQ(CONTENT_SETTING_SESSION_ONLY,
542 content_settings->GetContentSetting(host, CONTENT_SETTINGS_TYPE_COOKIES)); 541 content_settings->GetContentSetting(host, CONTENT_SETTINGS_TYPE_COOKIES));
543 } 542 }
544 543
545 } // namespace 544 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/cookies_tree_model.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698