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

Side by Side Diff: chrome/browser/chromeos/login/signin/oauth2_browsertest.cc

Issue 688853005: Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
(...skipping 28 matching lines...) Expand all
39 #include "google_apis/gaia/gaia_constants.h" 39 #include "google_apis/gaia/gaia_constants.h"
40 #include "google_apis/gaia/gaia_urls.h" 40 #include "google_apis/gaia/gaia_urls.h"
41 #include "net/cookies/canonical_cookie.h" 41 #include "net/cookies/canonical_cookie.h"
42 #include "net/cookies/cookie_monster.h" 42 #include "net/cookies/cookie_monster.h"
43 #include "net/cookies/cookie_store.h" 43 #include "net/cookies/cookie_store.h"
44 #include "net/test/embedded_test_server/http_request.h" 44 #include "net/test/embedded_test_server/http_request.h"
45 #include "net/test/embedded_test_server/http_response.h" 45 #include "net/test/embedded_test_server/http_response.h"
46 #include "net/url_request/url_request_context.h" 46 #include "net/url_request/url_request_context.h"
47 #include "net/url_request/url_request_context_getter.h" 47 #include "net/url_request/url_request_context_getter.h"
48 48
49 using app_modal::AppModalDialog;
50 using app_modal::JavaScriptAppModalDialog;
49 using net::test_server::BasicHttpResponse; 51 using net::test_server::BasicHttpResponse;
50 using net::test_server::HttpRequest; 52 using net::test_server::HttpRequest;
51 using net::test_server::HttpResponse; 53 using net::test_server::HttpResponse;
52 54
53 namespace chromeos { 55 namespace chromeos {
54 56
55 namespace { 57 namespace {
56 58
57 // Email of owner account for test. 59 // Email of owner account for test.
58 const char kTestAccountId[] = "username@gmail.com"; 60 const char kTestAccountId[] = "username@gmail.com";
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 792
791 if (!catcher.GetNextResult()) { 793 if (!catcher.GetNextResult()) {
792 std::string message = catcher.message(); 794 std::string message = catcher.message();
793 ADD_FAILURE() << "Tests failed: " << message; 795 ADD_FAILURE() << "Tests failed: " << message;
794 } 796 }
795 797
796 EXPECT_TRUE(fake_google_.IsPageRequested()); 798 EXPECT_TRUE(fake_google_.IsPageRequested());
797 } 799 }
798 800
799 } // namespace chromeos 801 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698