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

Side by Side Diff: chrome/test/live_sync/bookmark_model_verifier.cc

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(BROWSER_SYNC)
6
7 #include "chrome/test/live_sync/bookmark_model_verifier.h" 5 #include "chrome/test/live_sync/bookmark_model_verifier.h"
8 6
9 #include <vector> 7 #include <vector>
10 #include <stack> 8 #include <stack>
11 9
12 #include "app/tree_node_iterator.h" 10 #include "app/tree_node_iterator.h"
13 #include "base/rand_util.h" 11 #include "base/rand_util.h"
14 #include "chrome/browser/bookmarks/bookmark_model.h" 12 #include "chrome/browser/bookmarks/bookmark_model.h"
15 #include "chrome/browser/bookmarks/bookmark_utils.h" 13 #include "chrome/browser/bookmarks/bookmark_utils.h"
16 #include "chrome/test/live_sync/live_bookmarks_sync_test.h" 14 #include "chrome/test/live_sync/live_bookmarks_sync_test.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const GURL& new_url) { 242 const GURL& new_url) {
245 const BookmarkNode* v_node = NULL; 243 const BookmarkNode* v_node = NULL;
246 FindNodeInVerifier(model, node, &v_node); 244 FindNodeInVerifier(model, node, &v_node);
247 const BookmarkNode* result = bookmark_utils::ApplyEditsWithNoGroupChange( 245 const BookmarkNode* result = bookmark_utils::ApplyEditsWithNoGroupChange(
248 model, node->GetParent(), BookmarkEditor::EditDetails(node), 246 model, node->GetParent(), BookmarkEditor::EditDetails(node),
249 node->GetTitle(), new_url, NULL); 247 node->GetTitle(), new_url, NULL);
250 bookmark_utils::ApplyEditsWithNoGroupChange(verifier_, v_node->GetParent(), 248 bookmark_utils::ApplyEditsWithNoGroupChange(verifier_, v_node->GetParent(),
251 BookmarkEditor::EditDetails(v_node), v_node->GetTitle(), new_url, NULL); 249 BookmarkEditor::EditDetails(v_node), v_node->GetTitle(), new_url, NULL);
252 return result; 250 return result;
253 } 251 }
254
255 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/test/live_sync/bookmark_model_verifier.h ('k') | chrome/test/live_sync/live_bookmarks_sync_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698