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

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

Issue 11085055: Make the WebContentsUserData locator key private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, catch more uses of the key Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/infobars/infobar_tab_helper.cc » ('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) 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 "chrome/browser/autofill/test_autofill_external_delegate.h" 5 #include "chrome/browser/autofill/test_autofill_external_delegate.h"
6 6
7 void AutofillExternalDelegate::CreateForWebContentsAndManager( 7 void AutofillExternalDelegate::CreateForWebContentsAndManager(
8 content::WebContents* web_contents, 8 content::WebContents* web_contents,
9 AutofillManager* autofill_manager) { 9 AutofillManager* autofill_manager) {
10 if (FromWebContents(web_contents)) 10 if (FromWebContents(web_contents))
11 return; 11 return;
12 12
13 web_contents->SetUserData( 13 web_contents->SetUserData(
14 &kLocatorKey, 14 UserDataKey(),
15 new TestAutofillExternalDelegate(web_contents, autofill_manager)); 15 new TestAutofillExternalDelegate(web_contents, autofill_manager));
16 } 16 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/infobars/infobar_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698