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

Side by Side Diff: chrome/browser/sync/glue/change_processor.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
« no previous file with comments | « chrome/browser/sync/glue/change_processor.h ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/browser/sync/glue/change_processor.h" 5 #include "chrome/browser/sync/glue/change_processor.h"
8 6
9 #include "app/gfx/codec/png_codec.h" 7 #include "app/gfx/codec/png_codec.h"
10 #include "base/string_util.h" 8 #include "base/string_util.h"
11 #include "chrome/browser/bookmarks/bookmark_utils.h" 9 #include "chrome/browser/bookmarks/bookmark_utils.h"
12 #include "chrome/browser/favicon_service.h" 10 #include "chrome/browser/favicon_service.h"
13 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profile.h"
14 #include "chrome/browser/sync/profile_sync_service.h" 12 #include "chrome/browser/sync/profile_sync_service.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
16 14
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 const BookmarkNode* bookmark_node, 536 const BookmarkNode* bookmark_node,
539 BookmarkModel* model, 537 BookmarkModel* model,
540 sync_api::WriteNode* sync_node) { 538 sync_api::WriteNode* sync_node) {
541 std::vector<unsigned char> favicon_bytes; 539 std::vector<unsigned char> favicon_bytes;
542 EncodeFavicon(bookmark_node, model, &favicon_bytes); 540 EncodeFavicon(bookmark_node, model, &favicon_bytes);
543 if (!favicon_bytes.empty()) 541 if (!favicon_bytes.empty())
544 sync_node->SetFaviconBytes(&favicon_bytes[0], favicon_bytes.size()); 542 sync_node->SetFaviconBytes(&favicon_bytes[0], favicon_bytes.size());
545 } 543 }
546 544
547 } // namespace browser_sync 545 } // namespace browser_sync
548
549 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/change_processor.h ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698