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

Side by Side Diff: components/sync/model/model_type_debug_info.cc

Issue 2802193002: Remove Noexcept and ModelTypeDebugInfo (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « components/browser_sync/profile_sync_service.cc ('k') | 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/sync/model/model_type_debug_info.h" 5 #include "components/sync/model/model_type_debug_info.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // UNIQUE_SERVER_TAG to check if the node is root node. isChildOf in 92 // UNIQUE_SERVER_TAG to check if the node is root node. isChildOf in
93 // sync_node_browser.js uses modelType to check if root node is parent of real 93 // sync_node_browser.js uses modelType to check if root node is parent of real
94 // data node. NON_UNIQUE_NAME will be the name of node to display. 94 // data node. NON_UNIQUE_NAME will be the name of node to display.
95 rootnode->SetString("PARENT_ID", "r"); 95 rootnode->SetString("PARENT_ID", "r");
96 rootnode->SetString("UNIQUE_SERVER_TAG", type_string); 96 rootnode->SetString("UNIQUE_SERVER_TAG", type_string);
97 rootnode->SetBoolean("IS_DIR", true); 97 rootnode->SetBoolean("IS_DIR", true);
98 rootnode->SetString("modelType", type_string); 98 rootnode->SetString("modelType", type_string);
99 rootnode->SetString("NON_UNIQUE_NAME", type_string); 99 rootnode->SetString("NON_UNIQUE_NAME", type_string);
100 all_nodes->Append(std::move(rootnode)); 100 all_nodes->Append(std::move(rootnode));
101 101
102 callback.Run(processor->type_, std::move(all_nodes)); 102 callback.Run(processor->type_, nullptr);
103 } 103 }
104 104
105 } // namespace syncer 105 } // namespace syncer
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698