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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/dom_ui/new_tab_page_sync_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 30247)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -61,9 +61,7 @@
#include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h"
#endif
-#if defined(BROWSER_SYNC)
using sync_api::SyncManager;
-#endif
using base::Time;
using base::TimeDelta;
@@ -469,7 +467,6 @@
return output;
}
-#if defined(BROWSER_SYNC)
static void AddBoolSyncDetail(ListValue* details, const std::wstring& stat_name,
bool stat_value) {
DictionaryValue* val = new DictionaryValue;
@@ -560,7 +557,6 @@
return jstemplate_builder::GetTemplateHtml(
sync_html, &strings , "t" /* template root node id */);
}
-#endif // defined(BROWSER_SYNC)
// AboutSource -----------------------------------------------------------------
@@ -624,9 +620,7 @@
} else if (path == kTermsPath) {
response = AboutTerms();
} else if (path == kSyncPath) {
-#if defined(BROWSER_SYNC)
response = AboutSync();
-#endif
}
FinishDataRequest(response, request_id);
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/dom_ui/new_tab_page_sync_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698