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

Unified Diff: chrome/browser/sync/glue/session_model_associator.h

Issue 11298004: alternate ntp: add "Recent Tabs" submenu to wrench menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed fred's comments Created 8 years, 1 month 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/app/generated_resources.grd ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_model_associator.h
diff --git a/chrome/browser/sync/glue/session_model_associator.h b/chrome/browser/sync/glue/session_model_associator.h
index 0a61fa12d32162b983e5b5885f1fef6f0805b5ed..28dfa2256491f429d850e2f879b7f060c8deddca 100644
--- a/chrome/browser/sync/glue/session_model_associator.h
+++ b/chrome/browser/sync/glue/session_model_associator.h
@@ -233,6 +233,13 @@ class SessionModelAssociator
bool GetSyncedFaviconForPageURL(const std::string& url,
std::string* png_favicon) const;
+#if defined(UNIT_TEST)
akalin 2012/11/10 21:47:40 sorry, i wasn't clear -- i still want the "#if def
kuan 2012/11/11 00:17:22 Done.
+ // Sets the machine tag for testing.
akalin 2012/11/10 21:47:40 you can remove the comment -- i think the function
kuan 2012/11/11 00:17:22 Done.
+ void SetCurrentMachineTagForTesting(const std::string& machine_tag) {
+ current_machine_tag_ = machine_tag;
+ }
+#endif // defined(UNIT_TEST)
+
private:
friend class SyncSessionModelAssociatorTest;
FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceSessionTest, WriteSessionToNode);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/browser_command_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698