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

Side by Side Diff: chrome_frame/cfproxy_test.cc

Issue 4758001: Part 2 of reapplying r64637. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window recompile after rebase? Created 10 years, 1 month 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_frame/cfproxy_support.cc ('k') | chrome_frame/chrome_frame_delegate.h » ('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 <string> 5 #include <string>
6 #include "base/file_path.h" 6 #include "base/file_path.h"
7 #include "base/waitable_event.h" 7 #include "base/waitable_event.h"
8 #include "chrome/common/automation_messages.h"
8 #include "chrome_frame/cfproxy_private.h" 9 #include "chrome_frame/cfproxy_private.h"
9 #include "chrome/test/automation/automation_messages.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gmock_mutant.h" 12 #include "testing/gmock_mutant.h"
13 13
14 using testing::_; 14 using testing::_;
15 using testing::DoAll; 15 using testing::DoAll;
16 using testing::NotNull; 16 using testing::NotNull;
17 using testing::Return; 17 using testing::Return;
18 using testing::StrictMock; 18 using testing::StrictMock;
19 using testing::InvokeWithoutArgs; 19 using testing::InvokeWithoutArgs;
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 536
537 // Tuple3<int, GURL, int> 537 // Tuple3<int, GURL, int>
538 AutomationMsg_GetCookiesFromHost m18(0, 1, url, 903); 538 AutomationMsg_GetCookiesFromHost m18(0, 1, url, 903);
539 EXPECT_CALL(delegate, GetCookies(url, 903)); 539 EXPECT_CALL(delegate, GetCookies(url, 903));
540 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m18)); 540 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m18));
541 541
542 AutomationMsg_CloseExternalTab m19(0, 1); 542 AutomationMsg_CloseExternalTab m19(0, 1);
543 EXPECT_CALL(delegate, TabClosed()); 543 EXPECT_CALL(delegate, TabClosed());
544 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m19)); 544 EXPECT_TRUE(DispatchTabMessageToDelegate(&delegate, m19));
545 } 545 }
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy_support.cc ('k') | chrome_frame/chrome_frame_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698