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

Side by Side Diff: chrome/browser/dom_ui/value_helper.h

Issue 3133022: sync: take two for: "Added classes to enable session sync... (Closed)
Patch Set: Created 10 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 | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/dom_ui/value_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_DOM_UI_VALUE_HELPER_H_
6 #define CHROME_BROWSER_DOM_UI_VALUE_HELPER_H_
7 #pragma once
8
9 #include "chrome/browser/sessions/tab_restore_service.h"
10
11 #include "base/values.h"
12
13 // Used to convert TabRestoreService elements to values for JSON processing.
14 class ValueHelper {
15 public:
16 static bool TabToValue(const TabRestoreService::Tab& tab,
17 DictionaryValue* dictionary);
18 static bool WindowToValue(const TabRestoreService::Window& window,
19 DictionaryValue* dictionary);
20 private:
21 DISALLOW_IMPLICIT_CONSTRUCTORS(ValueHelper);
22 };
23
24 #endif // CHROME_BROWSER_DOM_UI_VALUE_HELPER_H_
25
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/dom_ui/value_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698