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

Side by Side Diff: chrome/browser/title_chomper.h

Issue 3035: Move importer files into an importer subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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
« no previous file with comments | « chrome/browser/mork_reader.cc ('k') | chrome/browser/title_chomper.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) 2006-2008 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_TITLE_CHOMPER_H__
6 #define CHROME_BROWSER_TITLE_CHOMPER_H__
7
8 #include <string>
9 #include <vector>
10
11 class TitleChomper {
12 public:
13 TitleChomper();
14
15 void AddTitle(const std::wstring& title);
16
17 void ChompTitles(std::vector<std::wstring>* chomped_titles);
18
19 private:
20 void GenerateChompedTitle(const std::wstring& title,
21 std::wstring* chomped_title);
22
23 private:
24 std::vector<std::wstring> titles_;
25 std::vector<std::wstring> last_words_;
26 std::wstring last_title_;
27 };
28
29 #endif // #ifndef CHROME_BROWSER_TITLE_CHOMPER_H__
30
OLDNEW
« no previous file with comments | « chrome/browser/mork_reader.cc ('k') | chrome/browser/title_chomper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698