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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model_test_utils.cc

Issue 22339009: Remove unused variable declaration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/bookmarks/bookmark_model_test_utils.h" 5 #include "chrome/browser/bookmarks/bookmark_model_test_utils.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/bookmarks/bookmark_model.h" 8 #include "chrome/browser/bookmarks/bookmark_model.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 return child_string; 109 return child_string;
110 } 110 }
111 111
112 // static 112 // static
113 void BookmarkModelTestUtils::AddNodesFromModelString( 113 void BookmarkModelTestUtils::AddNodesFromModelString(
114 BookmarkModel* model, 114 BookmarkModel* model,
115 const BookmarkNode* node, 115 const BookmarkNode* node,
116 const std::string& model_string) { 116 const std::string& model_string) {
117 DCHECK(node); 117 DCHECK(node);
118 const std::string folder_tell(":[");
119 std::string::size_type start_pos = 0; 118 std::string::size_type start_pos = 0;
120 std::string::size_type end_pos = 119 std::string::size_type end_pos =
121 AddNodesFromString(model, node, model_string, start_pos); 120 AddNodesFromString(model, node, model_string, start_pos);
122 DCHECK(end_pos == std::string::npos); 121 DCHECK(end_pos == std::string::npos);
123 } 122 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698