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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler.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_handler.h
diff --git a/chrome/browser/ui/webui/sync_promo_handler.h b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.h
similarity index 93%
rename from chrome/browser/ui/webui/sync_promo_handler.h
rename to chrome/browser/ui/webui/sync_promo/sync_promo_handler.h
index d0534e45dec32563a870c9e67550ea0a0a50101b..4b2596dd764e0f0244a5dc0a26e734f3b61a1bc2 100644
--- a/chrome/browser/ui/webui/sync_promo_handler.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.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_HANDLER_H_
+#define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER_H_
#pragma once
#include "chrome/browser/ui/webui/sync_setup_handler.h"
@@ -70,7 +70,7 @@ class SyncPromoHandler : public SyncSetupHandler {
// 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 SyncPromoHandler : public SyncSetupHandler {
DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler);
};
-#endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_HANDLER_H_
+#endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER_H_
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_resource_cache.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698