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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 232263002: Console logging for rAc developer errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: improvements Created 6 years, 8 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 <map> 5 #include <map>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 return test_generated_bubble_controller_; 642 return test_generated_bubble_controller_;
643 } 643 }
644 644
645 const MockNewCreditCardBubbleController* mock_new_card_bubble_controller() { 645 const MockNewCreditCardBubbleController* mock_new_card_bubble_controller() {
646 return mock_new_card_bubble_controller_.get(); 646 return mock_new_card_bubble_controller_.get();
647 } 647 }
648 648
649 private: 649 private:
650 void FinishedCallback( 650 void FinishedCallback(
651 AutofillManagerDelegate::RequestAutocompleteResult result, 651 AutofillManagerDelegate::RequestAutocompleteResult result,
652 const base::string16& debug_message,
652 const FormStructure* form_structure) { 653 const FormStructure* form_structure) {
653 form_structure_ = form_structure; 654 form_structure_ = form_structure;
654 } 655 }
655 656
656 #if defined(OS_WIN) 657 #if defined(OS_WIN)
657 // http://crbug.com/227221 658 // http://crbug.com/227221
658 ui::ScopedOleInitializer ole_initializer_; 659 ui::ScopedOleInitializer ole_initializer_;
659 #endif 660 #endif
660 661
661 // The controller owns itself. 662 // The controller owns itself.
(...skipping 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after
3404 SECTION_SHIPPING, 3405 SECTION_SHIPPING,
3405 NAME_FULL, 3406 NAME_FULL,
3406 gfx::NativeView(), 3407 gfx::NativeView(),
3407 gfx::Rect(), 3408 gfx::Rect(),
3408 profile.GetRawInfo(NAME_FULL).substr(0, 1), 3409 profile.GetRawInfo(NAME_FULL).substr(0, 1),
3409 true); 3410 true);
3410 EXPECT_EQ(NAME_FULL, controller()->popup_input_type()); 3411 EXPECT_EQ(NAME_FULL, controller()->popup_input_type());
3411 } 3412 }
3412 3413
3413 } // namespace autofill 3414 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698