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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h

Issue 8933003: [Sync Promo UI] Changing sync promo to honor brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing supposedly needless .gypi deps 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h
diff --git a/chrome/browser/ui/webui/sync_promo_handler2.h b/chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h
similarity index 93%
rename from chrome/browser/ui/webui/sync_promo_handler2.h
rename to chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h
index c2d3c8f5447ff9384cbf3fe5c77b3c292eddb7b3..0726ae476bc1d717bc0734fb6ad4f872d9bb1ada 100644
--- a/chrome/browser/ui/webui/sync_promo_handler2.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h
@@ -2,8 +2,8 @@
// 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_SYNC_PROMO_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
+#ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
+#define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
#pragma once
#include "chrome/browser/ui/webui/sync_setup_handler2.h"
@@ -70,7 +70,7 @@ class SyncPromoHandler2 : public SyncSetupHandler2 {
// Increment the local view count by the specified non-negative integer
// amount. Returns the new total view count.
- int IncrementViewCountBy(unsigned int amount);
+ int IncrementViewCountBy(size_t amount);
// Record a user's flow through the promo to our histogram in UMA.
void RecordUserFlowAction(int action);
@@ -94,4 +94,4 @@ class SyncPromoHandler2 : public SyncSetupHandler2 {
DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler2);
};
-#endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
+#endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698