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

Side by Side Diff: components/autofill/content/browser/wallet/wallet_client.cc

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/autofill/content/browser/wallet/wallet_client.h" 5 #include "components/autofill/content/browser/wallet/wallet_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 29 matching lines...) Expand all
40 case MISSING_CLICK_ELEMENT_BEFORE_FORM_FILLING: 40 case MISSING_CLICK_ELEMENT_BEFORE_FORM_FILLING:
41 return "MISSING_CLICK_ELEMENT_BEFORE_FORM_FILLING"; 41 return "MISSING_CLICK_ELEMENT_BEFORE_FORM_FILLING";
42 case MISSING_CLICK_ELEMENT_AFTER_FORM_FILLING: 42 case MISSING_CLICK_ELEMENT_AFTER_FORM_FILLING:
43 return "MISSING_CLICK_ELEMENT_AFTER_FORM_FILLING"; 43 return "MISSING_CLICK_ELEMENT_AFTER_FORM_FILLING";
44 case CANNOT_PROCEED: 44 case CANNOT_PROCEED:
45 return "CANNOT_PROCEED"; 45 return "CANNOT_PROCEED";
46 case SUCCESS: 46 case SUCCESS:
47 // SUCCESS cannot be sent to the server as it will result in a failure. 47 // SUCCESS cannot be sent to the server as it will result in a failure.
48 NOTREACHED(); 48 NOTREACHED();
49 return "ERROR"; 49 return "ERROR";
50 case AUTOCHECKOUT_STATUS_NUM_STATUS:
51 NOTREACHED();
50 } 52 }
51 NOTREACHED(); 53 NOTREACHED();
52 return "NOT_POSSIBLE"; 54 return "NOT_POSSIBLE";
53 } 55 }
54 56
55 std::string DialogTypeToFeatureString(autofill::DialogType dialog_type) { 57 std::string DialogTypeToFeatureString(autofill::DialogType dialog_type) {
56 switch (dialog_type) { 58 switch (dialog_type) {
57 case DIALOG_TYPE_REQUEST_AUTOCOMPLETE: 59 case DIALOG_TYPE_REQUEST_AUTOCOMPLETE:
58 return "REQUEST_AUTOCOMPLETE"; 60 return "REQUEST_AUTOCOMPLETE";
59 case DIALOG_TYPE_AUTOCHECKOUT: 61 case DIALOG_TYPE_AUTOCHECKOUT:
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 NOTREACHED(); 1006 NOTREACHED();
1005 return AutofillMetrics::UNKNOWN_API_CALL; 1007 return AutofillMetrics::UNKNOWN_API_CALL;
1006 } 1008 }
1007 1009
1008 NOTREACHED(); 1010 NOTREACHED();
1009 return AutofillMetrics::UNKNOWN_API_CALL; 1011 return AutofillMetrics::UNKNOWN_API_CALL;
1010 } 1012 }
1011 1013
1012 } // namespace wallet 1014 } // namespace wallet
1013 } // namespace autofill 1015 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/common/forms_seen_state.h ('k') | components/autofill/content/renderer/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698