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

Side by Side Diff: chrome/browser/autofill/autofill_manager.cc

Issue 8892011: Clean up TCW, make it solely a hub for 1:1 observer/helper objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/autofill/autofill_manager.h" 5 #include "chrome/browser/autofill/autofill_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <map> 10 #include <map>
(...skipping 27 matching lines...) Expand all
38 #include "chrome/browser/ui/browser.h" 38 #include "chrome/browser/ui/browser.h"
39 #include "chrome/browser/ui/browser_list.h" 39 #include "chrome/browser/ui/browser_list.h"
40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
41 #include "chrome/common/autofill_messages.h" 41 #include "chrome/common/autofill_messages.h"
42 #include "chrome/common/chrome_notification_types.h" 42 #include "chrome/common/chrome_notification_types.h"
43 #include "chrome/common/chrome_switches.h" 43 #include "chrome/common/chrome_switches.h"
44 #include "chrome/common/guid.h" 44 #include "chrome/common/guid.h"
45 #include "chrome/common/pref_names.h" 45 #include "chrome/common/pref_names.h"
46 #include "chrome/common/url_constants.h" 46 #include "chrome/common/url_constants.h"
47 #include "content/browser/renderer_host/render_view_host.h" 47 #include "content/browser/renderer_host/render_view_host.h"
48 #include "content/browser/tab_contents/tab_contents.h"
48 #include "content/public/browser/browser_thread.h" 49 #include "content/public/browser/browser_thread.h"
49 #include "content/public/browser/notification_service.h" 50 #include "content/public/browser/notification_service.h"
50 #include "content/public/browser/notification_source.h" 51 #include "content/public/browser/notification_source.h"
51 #include "googleurl/src/gurl.h" 52 #include "googleurl/src/gurl.h"
52 #include "grit/generated_resources.h" 53 #include "grit/generated_resources.h"
53 #include "ipc/ipc_message_macros.h" 54 #include "ipc/ipc_message_macros.h"
54 #include "ui/base/l10n/l10n_util.h" 55 #include "ui/base/l10n/l10n_util.h"
55 #include "ui/gfx/rect.h" 56 #include "ui/gfx/rect.h"
56 #include "webkit/glue/form_data.h" 57 #include "webkit/glue/form_data.h"
57 #include "webkit/glue/form_data_predictions.h" 58 #include "webkit/glue/form_data_predictions.h"
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 *profile_guid = IDToGUID(profile_id); 1300 *profile_guid = IDToGUID(profile_id);
1300 } 1301 }
1301 1302
1302 void AutofillManager::UpdateInitialInteractionTimestamp( 1303 void AutofillManager::UpdateInitialInteractionTimestamp(
1303 const TimeTicks& interaction_timestamp) { 1304 const TimeTicks& interaction_timestamp) {
1304 if (initial_interaction_timestamp_.is_null() || 1305 if (initial_interaction_timestamp_.is_null() ||
1305 interaction_timestamp < initial_interaction_timestamp_) { 1306 interaction_timestamp < initial_interaction_timestamp_) {
1306 initial_interaction_timestamp_ = interaction_timestamp; 1307 initial_interaction_timestamp_ = interaction_timestamp;
1307 } 1308 }
1308 } 1309 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_external_delegate.cc ('k') | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698