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

Unified Diff: chrome/browser/ui/webui/new_profile_handler.h

Issue 7563023: Multi-Profiles: Remove new profile setup UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/browser/ui/webui/new_profile_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/new_profile_handler.h
diff --git a/chrome/browser/ui/webui/new_profile_handler.h b/chrome/browser/ui/webui/new_profile_handler.h
deleted file mode 100644
index fc94ff9cc41e393aa66c1dd6291d6b636edc9528..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/new_profile_handler.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 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 CHROME_BROWSER_UI_WEBUI_NEW_PROFILE_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_NEW_PROFILE_HANDLER_H_
-#pragma once
-
-#include "content/browser/webui/web_ui.h"
-
-class RefCountedMemory;
-
-namespace base {
-class ListValue;
-}
-
-// The handler for Javascript messages related to the "new profile" page.
-class NewProfileHandler : public WebUIMessageHandler {
- public:
- NewProfileHandler();
-
- // WebUIMessageHandler implementation.
- virtual void RegisterMessages() OVERRIDE;
-
- // Callback for the "create" message - finishes creating a profile.
- void HandleCreate(const base::ListValue* args);
-
- // Callback for the "cancel" message - cancels creating a profile.
- void HandleCancel(const base::ListValue* args);
-
- // Callback for the "requestProfileInfo" message - sends profile info.
- void HandleRequestProfileInfo(const base::ListValue* args);
-
- private:
- // Send the default avatar images to the page.
- void SendDefaultAvatarImages();
-
- // Send information about the profile to the page.
- void SendProfileInfo();
-
- DISALLOW_COPY_AND_ASSIGN(NewProfileHandler);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_NEW_PROFILE_HANDLER_H_
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/browser/ui/webui/new_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698