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

Side by Side Diff: chrome/browser/ui/gtk/options/cookies_view_unittest.cc

Issue 6328002: Update references part 1: subdirectories of chrome/browser/ui/gtk/:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/gtk/options/cookies_view.h" 5 #include "chrome/browser/ui/gtk/options/cookies_view.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
11 11
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "chrome/browser/mock_browsing_data_appcache_helper.h" 13 #include "chrome/browser/mock_browsing_data_appcache_helper.h"
14 #include "chrome/browser/mock_browsing_data_database_helper.h" 14 #include "chrome/browser/mock_browsing_data_database_helper.h"
15 #include "chrome/browser/mock_browsing_data_indexed_db_helper.h" 15 #include "chrome/browser/mock_browsing_data_indexed_db_helper.h"
16 #include "chrome/browser/mock_browsing_data_local_storage_helper.h" 16 #include "chrome/browser/mock_browsing_data_local_storage_helper.h"
17 #include "chrome/browser/gtk/gtk_chrome_cookie_view.h" 17 #include "chrome/browser/ui/gtk/gtk_chrome_cookie_view.h"
18 #include "chrome/common/net/url_request_context_getter.h" 18 #include "chrome/common/net/url_request_context_getter.h"
19 #include "chrome/test/testing_profile.h" 19 #include "chrome/test/testing_profile.h"
20 #include "net/url_request/url_request_context.h" 20 #include "net/url_request/url_request_context.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 class CookiesViewTest : public testing::Test { 23 class CookiesViewTest : public testing::Test {
24 public: 24 public:
25 CookiesViewTest() : io_thread_(BrowserThread::IO, &message_loop_) { 25 CookiesViewTest() : io_thread_(BrowserThread::IO, &message_loop_) {
26 } 26 }
27 27
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 SCOPED_TRACE("First selection removed"); 1193 SCOPED_TRACE("First selection removed");
1194 EXPECT_STREQ("C,B", GetMonsterCookies(monster).c_str()); 1194 EXPECT_STREQ("C,B", GetMonsterCookies(monster).c_str());
1195 EXPECT_STREQ("gdbhost1,_Web Databases,__db1," 1195 EXPECT_STREQ("gdbhost1,_Web Databases,__db1,"
1196 "host1,_Local Storage,__http://host1:1/", 1196 "host1,_Local Storage,__http://host1:1/",
1197 GetDisplayedCookies(cookies_view).c_str()); 1197 GetDisplayedCookies(cookies_view).c_str());
1198 EXPECT_EQ(TRUE, GTK_WIDGET_SENSITIVE(cookies_view.remove_all_button_)); 1198 EXPECT_EQ(TRUE, GTK_WIDGET_SENSITIVE(cookies_view.remove_all_button_));
1199 EXPECT_EQ(FALSE, GTK_WIDGET_SENSITIVE(cookies_view.remove_button_)); 1199 EXPECT_EQ(FALSE, GTK_WIDGET_SENSITIVE(cookies_view.remove_button_));
1200 CheckDetailsSensitivity(FALSE, FALSE, FALSE, FALSE, FALSE, cookies_view); 1200 CheckDetailsSensitivity(FALSE, FALSE, FALSE, FALSE, FALSE, cookies_view);
1201 } 1201 }
1202 } 1202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698