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

Side by Side Diff: chrome/browser/dom_ui/new_tab_page_sync_handler.cc

Issue 316016: Move the json-related files into a separate json directory. This hopefully al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
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) 5 #if defined(BROWSER_SYNC)
6 6
7 #include "chrome/browser/dom_ui/new_tab_page_sync_handler.h" 7 #include "chrome/browser/dom_ui/new_tab_page_sync_handler.h"
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/json_writer.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
14 #include "chrome/browser/renderer_host/render_view_host.h" 13 #include "chrome/browser/renderer_host/render_view_host.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 14 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
17 #include "chrome/common/pref_service.h" 16 #include "chrome/common/pref_service.h"
18 #include "grit/browser_resources.h" 17 #include "grit/browser_resources.h"
19 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
20 #include "net/base/cookie_monster.h" 19 #include "net/base/cookie_monster.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } else { 220 } else {
222 value.SetBoolean(L"linkurlisset", true); 221 value.SetBoolean(L"linkurlisset", true);
223 value.SetString(L"linkurl", linkurl); 222 value.SetString(L"linkurl", linkurl);
224 } 223 }
225 } 224 }
226 } 225 }
227 dom_ui_->CallJavascriptFunction(L"syncMessageChanged", value); 226 dom_ui_->CallJavascriptFunction(L"syncMessageChanged", value);
228 } 227 }
229 228
230 #endif // defined(BROWSER_SYNC) 229 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui.cc ('k') | chrome/browser/extensions/extension_bookmarks_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698