summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/renderer/test_password_generation_agent.h
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-31 03:34:14 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-31 03:34:14 +0000
commit999f9626e6898fe8a163a1e941300b772f11fbab (patch)
tree1f5bb1b2f7f09de7c8b58bb0812bbc1bcd83fae8 /components/autofill/content/renderer/test_password_generation_agent.h
parent6c4a02929ab5108f7809d52208dcb228a5513bc7 (diff)
downloadchromium_src-999f9626e6898fe8a163a1e941300b772f11fbab.zip
chromium_src-999f9626e6898fe8a163a1e941300b772f11fbab.tar.gz
chromium_src-999f9626e6898fe8a163a1e941300b772f11fbab.tar.bz2
Revert 248110 "[Password Generation] Enable new UI"
This breaks linux asan bot test. See http://crbug.com/318977 for detail log. > [Password Generation] Enable new UI > > Replaces key icon and associated bubble with autofill style dropdown. Changes include > > - Update PasswordGenerationAgentTest > - Add interactive_uitest for new UI. > - Sync edits to confirmation password field(s). > - Update UMA stats to more accurately reflect user choices. > > Updating the generation popup to match the latest mocks and implement the > editing popup will come in a later CL. > > BUG=318977 > > Review URL: https://codereview.chromium.org/148993002 TBR=gcasto@chromium.org Review URL: https://codereview.chromium.org/151093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill/content/renderer/test_password_generation_agent.h')
-rw-r--r--components/autofill/content/renderer/test_password_generation_agent.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/components/autofill/content/renderer/test_password_generation_agent.h b/components/autofill/content/renderer/test_password_generation_agent.h
deleted file mode 100644
index e711ab0..0000000
--- a/components/autofill/content/renderer/test_password_generation_agent.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_GENERATION_AGENT_H_
-#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_GENERATION_AGENT_H_
-
-#include <vector>
-
-#include "base/memory/scoped_vector.h"
-#include "components/autofill/content/renderer/password_generation_agent.h"
-#include "ipc/ipc_message.h"
-
-namespace autofill {
-
-class TestPasswordGenerationAgent : public PasswordGenerationAgent {
- public:
- explicit TestPasswordGenerationAgent(content::RenderView* render_view);
- virtual ~TestPasswordGenerationAgent();
-
- // content::RenderViewObserver implementation:
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- virtual bool Send(IPC::Message* message) OVERRIDE;
-
- // Access messages that would have been sent to the browser.
- const std::vector<IPC::Message*>& messages() const { return messages_.get(); }
-
- // Clear outgoing message queue.
- void clear_messages() { messages_.clear(); }
-
- // PasswordGenreationAgent implementation:
- // Always return true to allow loading of data URLs.
- virtual bool ShouldAnalyzeDocument(
- const blink::WebDocument& document) const OVERRIDE;
-
- private:
- ScopedVector<IPC::Message> messages_;
-
- DISALLOW_COPY_AND_ASSIGN(TestPasswordGenerationAgent);
-};
-
-} // namespace autofill
-
-#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_