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

Side by Side Diff: chrome/browser/profiles/profile_list_desktop.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/profiles/profile_list_desktop.h" 5 #include "chrome/browser/profiles/profile_list_desktop.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 8 #include "chrome/browser/profiles/profile_avatar_icon_util.h"
9 #include "chrome/browser/profiles/profile_info_cache.h" 9 #include "chrome/browser/profiles/profile_info_cache.h"
10 #include "chrome/grit/generated_resources.h"
10 #include "components/signin/core/common/profile_management_switches.h" 11 #include "components/signin/core/common/profile_management_switches.h"
11 #include "grit/generated_resources.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 ProfileListDesktop::ProfileListDesktop(ProfileInfoInterface* profile_cache) 14 ProfileListDesktop::ProfileListDesktop(ProfileInfoInterface* profile_cache)
15 : profile_info_(profile_cache), 15 : profile_info_(profile_cache),
16 omitted_item_count_(0) { 16 omitted_item_count_(0) {
17 } 17 }
18 18
19 ProfileListDesktop::~ProfileListDesktop() { 19 ProfileListDesktop::~ProfileListDesktop() {
20 ClearMenu(); 20 ClearMenu();
21 } 21 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 void ProfileListDesktop::ActiveProfilePathChanged(base::FilePath& path) { 92 void ProfileListDesktop::ActiveProfilePathChanged(base::FilePath& path) {
93 active_profile_path_ = path; 93 active_profile_path_ = path;
94 } 94 }
95 95
96 void ProfileListDesktop::ClearMenu() { 96 void ProfileListDesktop::ClearMenu() {
97 STLDeleteElements(&items_); 97 STLDeleteElements(&items_);
98 omitted_item_count_ = 0; 98 omitted_item_count_ = 0;
99 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698